dbTalk Databases Forums  

Concatenating files

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


Discuss Concatenating files in the microsoft.public.sqlserver.dts forum.



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

Default Concatenating files - 07-05-2005 , 04:47 PM






Hi,
I need to load a bunch of text files

Q) Is there a way to open multiple text files in DTS for loading ?
Q) Is there a way to open text files in DTS with a wild card e.g. *.txt ?
Q) Is there a way to concatenate the files ? and then I can load the
concatnated file.



Thank you

--
Luq K

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

Default Re: Concatenating files - 07-05-2005 , 05:06 PM






Q1 == No not in this version
Q2 == No not in this version
Q3 == Have you seen the DOS COPY cmd?



--



Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - You thought DTS was good. here we show you the new stuff.
www.konesans.com - Consultancy from the people who know


"Luq K" <LuqK (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,
I need to load a bunch of text files

Q) Is there a way to open multiple text files in DTS for loading ?
Q) Is there a way to open text files in DTS with a wild card e.g. *.txt ?
Q) Is there a way to concatenate the files ? and then I can load the
concatnated file.



Thank you

--
Luq K



Reply With Quote
  #3  
Old   
Rick Gittins
 
Posts: n/a

Default Re: Concatenating files - 07-06-2005 , 02:31 PM



You can create a DTS that will run a file and loop back to the beginning to
process the next file. I have done this before and it works great. Let me
know if you need any help.

Rick

"Luq K" <LuqK (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,
I need to load a bunch of text files

Q) Is there a way to open multiple text files in DTS for loading ?
Q) Is there a way to open text files in DTS with a wild card e.g. *.txt ?
Q) Is there a way to concatenate the files ? and then I can load the
concatnated file.



Thank you

--
Luq K



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.