dbTalk Databases Forums  

DTS 150 different text files

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


Discuss DTS 150 different text files in the microsoft.public.sqlserver.dts forum.



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

Default DTS 150 different text files - 10-07-2003 , 01:14 PM






I need to dts 150 files that have the same schema
and same file name except the date will be tagged on
the file. What is the best way to accomplish this task.
I thought about using an Active X Script that
would dynamically change the source name, and
use the data transformation task to move
over the data. Would this work or would the
transformations be fould up when the next
file gets processed


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

Default Re: DTS 150 different text files - 10-07-2003 , 02:03 PM






How about this

Looping, Importing and Archiving
(http://www.sqldts.com/Default.aspx?246)

--
--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

"Phil" <atec396 (AT) hotmail (DOT) com> wrote

Quote:
I need to dts 150 files that have the same schema
and same file name except the date will be tagged on
the file. What is the best way to accomplish this task.
I thought about using an Active X Script that
would dynamically change the source name, and
use the data transformation task to move
over the data. Would this work or would the
transformations be fould up when the next
file gets processed




Reply With Quote
  #3  
Old   
Sue Hoegemeier
 
Posts: n/a

Default Re: DTS 150 different text files - 10-07-2003 , 02:06 PM



It'll work. You just need to loop through the directory and
proceed with what you planned. Take a look at the following
example on sqldts.com:
http://www.sqldts.com/?246

-Sue

On Tue, 7 Oct 2003 11:14:10 -0700, "Phil"
<atec396 (AT) hotmail (DOT) com> wrote:

Quote:
I need to dts 150 files that have the same schema
and same file name except the date will be tagged on
the file. What is the best way to accomplish this task.
I thought about using an Active X Script that
would dynamically change the source name, and
use the data transformation task to move
over the data. Would this work or would the
transformations be fould up when the next
file gets processed


Reply With Quote
  #4  
Old   
Kris
 
Posts: n/a

Default DTS 150 different text files - 10-08-2003 , 03:57 PM



You could definatly use ActiveX, and there are many
examples of that posted, but BCP might be quicker if you
are dealing with a lot of data.


Quote:
-----Original Message-----
I need to dts 150 files that have the same schema
and same file name except the date will be tagged on
the file. What is the best way to accomplish this task.
I thought about using an Active X Script that
would dynamically change the source name, and
use the data transformation task to move
over the data. Would this work or would the
transformations be fould up when the next
file gets processed

.


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.