all groups > sql server dts > january 2005 >
You're in the

sql server dts

group:

Please help. CSV problem.



Re: Please help. CSV problem. Ilya Margolin
1/14/2005 8:31:19 AM
sql server dts: Cagey,

As I take it there isn't much you can do here with MS products. I do not
know if you tried bcp/bulk insert. As you said one way out would be to use
those other pieces of software you've found working. Another way would be to
build you own parser. If you have power over generating those files other
delimiters would be better, such as alpha character (alt 224).

Ilya

[quoted text, click to view]

Please help. CSV problem. Cagey
1/14/2005 1:01:05 PM

Whilst importing a CSV file, DTS fails on fields with commas in them.

The text fields are surrounded by quotes and I've managed to get other
pieces of software to successfully read the file, but not Microsoft
Office products.


DTS seems to have set the Text Qualified property to Double Quote{"}
and I've tried putting an explicit " and "" in this field to no avail.


I'm hoping that somebody can show me where I'm going wrong with this
to avoid me having to add a step to parse the file before impot.


I posted similar a few days ago, but may not have worded it correctly.
Hoping somebody can assist.

Re: Please help. CSV problem. Cagey
1/14/2005 1:21:51 PM
[quoted text, click to view]

Unfortunately we cannot do that. The data is legacy data 4 years+ old,
which no longer exists on the source system.
Re: Please help. CSV problem. Melih SARICA
1/14/2005 3:22:50 PM
Try to Use an Other field Delimeter

[quoted text, click to view]

Re: Please help. CSV problem. Melih SARICA
1/14/2005 4:35:17 PM
did u try Bulk Copy / Bulk insert with a fomat file ?

[quoted text, click to view]

AddThis Social Bookmark Button