Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
.csv file
Message
 
To
19/08/2004 16:32:26
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00934644
Message ID:
00934652
Views:
23
We use Data Transformation Services (DTS) extensively for importing/exporting to and from text files. You can use BCP as well. In the Database, SQL Server forum I sent you a link to a sample doing an export using BCP in TSQL. If you can use fixed-length fields instead of csv files for the data transfer, your life will be made much easier because of the problem of embedded quotes in text files that often cause problems when importing csv files. If you can't avoid csv, you'll have to deal with the potential problems creatively depending upon the programs you are exchanging data with, your resource options, etc.

CSV, unfortunately, has variants, and different programs handle embedded quotes differently (or not at all). If you can avoid embedded quotes in your data, you shouldn't have too much difficulty.

Good luck!
Previous
Reply
Map
View

Click here to load this message in the networking platform