dbTalk Databases Forums  

DTS seems to ignore quoted fields.

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss DTS seems to ignore quoted fields. in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Cagey
 
Posts: n/a

Default DTS seems to ignore quoted fields. - 01-12-2005 , 10:56 AM






Help, I'm going mad with this.

When importing a CSV file, DTS appears to ignore that I've told
it that text fields are quoted and where a quoted field contains
a delimiter, it's simply split that field into two, making the
transformation stop due to "extra" fields....

Please, any thoughts appreciated before I quit........

Thanks in advance.

Reply With Quote
  #2  
Old   
Ilya Margolin
 
Posts: n/a

Default Re: DTS seems to ignore quoted fields. - 01-14-2005 , 07:22 AM






Cagey,

MS put too much of intelligent guessing into it. Would old fashioned
bcp/bulk insert task work better?

Ilya

"Cagey" <k@c.com> wrote

Quote:
Help, I'm going mad with this.

When importing a CSV file, DTS appears to ignore that I've told
it that text fields are quoted and where a quoted field contains
a delimiter, it's simply split that field into two, making the
transformation stop due to "extra" fields....

Please, any thoughts appreciated before I quit........

Thanks in advance.



Reply With Quote
  #3  
Old   
Cagey
 
Posts: n/a

Default Re: DTS seems to ignore quoted fields. - 01-14-2005 , 07:33 AM




Unfortunately there's a lot of field manipulation occuring during
the import.

It's a typical case of:
dts worked during testing, initial imports etc...

and fails on one file of many


Ilya Margolin wrote:
Quote:
Cagey,

MS put too much of intelligent guessing into it. Would old fashioned
bcp/bulk insert task work better?

Ilya

"Cagey" <k@c.com> wrote in message
news:uGPxkeM%23EHA.3756 (AT) TK2MSFTNGP14 (DOT) phx.gbl...

Help, I'm going mad with this.

When importing a CSV file, DTS appears to ignore that I've told
it that text fields are quoted and where a quoted field contains
a delimiter, it's simply split that field into two, making the
transformation stop due to "extra" fields....

Please, any thoughts appreciated before I quit........

Thanks in advance.




Reply With Quote
  #4  
Old   
Ilya Margolin
 
Posts: n/a

Default Re: DTS seems to ignore quoted fields. - 01-14-2005 , 08:04 AM



Cagey,

You can skip field manipulation for later and for now insert the data into a
staging table. Do all your manipulations going from staging table into the
destination.

Ilya

"Cagey" <k@c.com> wrote

Quote:
Unfortunately there's a lot of field manipulation occuring during
the import.

It's a typical case of:
dts worked during testing, initial imports etc...

and fails on one file of many


Ilya Margolin wrote:
Cagey,

MS put too much of intelligent guessing into it. Would old fashioned
bcp/bulk insert task work better?

Ilya

"Cagey" <k@c.com> wrote in message
news:uGPxkeM%23EHA.3756 (AT) TK2MSFTNGP14 (DOT) phx.gbl...

Help, I'm going mad with this.

When importing a CSV file, DTS appears to ignore that I've told
it that text fields are quoted and where a quoted field contains
a delimiter, it's simply split that field into two, making the
transformation stop due to "extra" fields....

Please, any thoughts appreciated before I quit........

Thanks in advance.






Reply With Quote
  #5  
Old   
Cagey
 
Posts: n/a

Default Re: DTS seems to ignore quoted fields. - 01-14-2005 , 09:24 AM



Ilya Margolin wrote:
Quote:
Cagey,

You can skip field manipulation for later and for now insert the data into a
staging table. Do all your manipulations going from staging table into the
destination.

Ilya

"Cagey" <k@c.com> wrote in message
news:%239BMm2j%23EHA.1936 (AT) TK2MSFTNGP10 (DOT) phx.gbl...

Unfortunately there's a lot of field manipulation occuring during
the import.

It's a typical case of:
dts worked during testing, initial imports etc...

and fails on one file of many


Ilya Margolin wrote:

Cagey,

MS put too much of intelligent guessing into it. Would old fashioned
bcp/bulk insert task work better?

Ilya

"Cagey" <k@c.com> wrote in message
news:uGPxkeM%23EHA.3756 (AT) TK2MSFTNGP14 (DOT) phx.gbl...


Help, I'm going mad with this.

When importing a CSV file, DTS appears to ignore that I've told
it that text fields are quoted and where a quoted field contains
a delimiter, it's simply split that field into two, making the
transformation stop due to "extra" fields....

Please, any thoughts appreciated before I quit........

Thanks in advance.





I feel it would be of greater benefit to use a scripting language
such as perl to reformat the source and stick with the existing
(working) conversion.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.