I am trying to Insert data from a CSV file to SQL server 2005. Certain columns in the CSV file have a comma in them which is put together between quotations (" "). Ex: 12, xde, "drt,4,gw4" has 3 columns
[12], [xde] and [drt,4,gw4].
While performing a bulk insert to SQL server, with ',' as FIELDTERMINATOR, It does not accept [drt,4,gw4] as one column. The number of commas in this column varies from row to row.
How can I Import such a CSV file to SQL server table?
Start Free Trial