Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CSV files with quoted strings
Message
 
 
À
04/08/2011 10:33:43
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Import/Export
Versions des environnements
SQL Server:
SQL Server 2008
Divers
Thread ID:
01520164
Message ID:
01520166
Vues:
54
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform