Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CSV files with quoted strings
Message
From
04/08/2011 13:02:53
 
General information
Forum:
Microsoft SQL Server
Category:
Import/Export
Environment versions
SQL Server:
SQL Server 2008
Miscellaneous
Thread ID:
01520164
Message ID:
01520178
Views:
46
>>hay gang,
>>
>>I want to output some tables to CSV files. I have investigating osql, sqlcmd, and even bcp. Even though I can generate a comma delimited file just fine, neither of the utilities seem to provide a means to out the character columns as quoted with double-quotes.
>>
>>Doed anyone know the trick to generating a CSV with the double-quotes?
>
>Quick google search leads to this site
>http://www.virtualobjectives.com.au/sqlserver/saving_to_csv.htm
>
>Looks like it should do the job.

Most excellent. Much faster then the FoxPro version I throw together. Thanks.
Greg Reichert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform