Bulk Insert

  • hi guys,

    i want to read and insert a csv file into SQL server. but i want to insert a specified columns in csv file. can anyone help me pls.

  • You can do this sort of thing using SSIS. Or you could use BULK INSERT or OPENROWSET to import the data into a staging table, from which you can then select the required columns.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply