Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CSV files with quoted strings
Message
 
 
To
04/08/2011 10:33:43
General information
Forum:
Microsoft SQL Server
Category:
Import/Export
Environment versions
SQL Server:
SQL Server 2008
Miscellaneous
Thread ID:
01520164
Message ID:
01520166
Views:
56
This message has been marked as the solution to the initial question of the thread.
>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.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform