dbTalk Databases Forums  

Importing text files from Unix

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


Discuss Importing text files from Unix in the microsoft.public.sqlserver.dts forum.



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

Default Importing text files from Unix - 11-11-2004 , 04:39 PM






I created a DTS to import a text that is FTP'd from a Unix server. I am not
having the common problem with the carraige return character. Instead I am
having a difficulty getting the text driver to recognize each column. The
file is, from what i'm told, space delimited. The file only has 3 columns,
but I only get one long string when I preview it.
For the row delimiter I have tried "Tab", CF/LF, CR, LF etc... nothing seems
to work.

Suggestions pleaseee.

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Importing text files from Unix - 11-12-2004 , 12:14 AM






Grab a hex editor and look at in here and see what the file thinks it is.

--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.Konesans.com


"GaryC" <GaryC (AT) discussions (DOT) microsoft.com> wrote

Quote:
I created a DTS to import a text that is FTP'd from a Unix server. I am
not
having the common problem with the carraige return character. Instead I
am
having a difficulty getting the text driver to recognize each column. The
file is, from what i'm told, space delimited. The file only has 3
columns,
but I only get one long string when I preview it.
For the row delimiter I have tried "Tab", CF/LF, CR, LF etc... nothing
seems
to work.

Suggestions pleaseee.



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.