dbTalk Databases Forums  

VFP vs DTS text file load

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


Discuss VFP vs DTS text file load in the microsoft.public.sqlserver.dts forum.



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

Default VFP vs DTS text file load - 01-25-2005 , 01:03 PM






I have a comma delimited text file that should contain 10 columns of
information.
10 rows of data exist.
Row 2 is missing the last 3 columns of information.

Visual FoxPro(VFP) scenario:
===================
I have a staging table with 10 fields and all data types are set to a
character.
When I load the text file, all 10 rows are loaded.
Row 2 is loaded into the staging table with fields 8,9,10 having no content.


DTS scenario:
==============
I have a staging table with 10 fields and all data types are set to a
character.
When I attempt to set up the DTS package, it errors out with message:

"invalid delimited data: text qualifier mus be followed by a column
delimiter (except the last column)"

It is because of row 2.
How do I set DTS to accept the row as is and load the content with whatever
information is available.
I'm sure MS SQL Server's DTS is just as sophisticated as VFP, I just do not
know how to adjust it's settings.

Has anyone figured this out.
Thanks in advance.


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.