Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CSV files with quoted strings
Message
De
04/08/2011 13:02:53
 
 
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:
01520178
Vues:
44
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform