infodemers
SSCommitted
Points: 1513
More actions
July 12, 2011 at 12:38 pm
#239431
I wish to bulk insert a CSV file using a formatfile. The data is enclosed in single quotes like the following. What should be the fieldterminator in this case?
'604','755','InService','NPIN','Not Reserved','Retail','3','BC'
Jayanth_Kurup
SSC-Insane
Points: 22967
July 12, 2011 at 1:16 pm
#1351827
See if this helps
http://www.sqlservercentral.com/Forums/Topic18289-8-2.aspx
Jayanth Kurup[/url]
July 12, 2011 at 1:24 pm
#1351835
Hi,
I received another suggestion that works actually.
I use comma as the field terminator, and then I remove the wrapping single quotes after the import into a staging table.
Thanks for trying to help me!
🙂
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply