dbTalk Databases Forums  

Re: Text file with abnormal delimiters

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


Discuss Re: Text file with abnormal delimiters in the microsoft.public.sqlserver.dts forum.



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

Default Re: Text file with abnormal delimiters - 06-30-2003 , 08:01 PM







Originally posted by Don
Quote:
Hi,
the text file is pasted below. The fields are between {: :} and i
need all
of them. Is there a way to take the only part between the
delimiters into
sql server.



{1:F01PTSATRE02XXX0000000000}{2:I999CKKBTRISXXXXN} {4:
:20:MICHAEL1906102024
:79:VSVSVSVSVSVSVS
-}{5:{TNG:}}
A solution I can recommend is to put the delimiters yourself, by looking
at the data layout of the text file. The way to do this is to choose the
TextFile as Source. In the properties. choose the Fixed field format n
hit next. Here you can place delimiters urself.
I hope this helps.

--
Posted via http://dbforums.com


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.