• You can use BCP command for this.

    Try searching use of BCP command.