dbTalk Databases Forums  

Re: Automating DTS from multiple import sources

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


Discuss Re: Automating DTS from multiple import sources in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Narayana Vyas Kondreddi
 
Posts: n/a

Default Re: Automating DTS from multiple import sources - 06-30-2003 , 02:53 PM






Go to SQLDTS.com and search for the word "Loop" to find some examples.

--
HTH,
Vyas, MVP (SQL Server)
http://vyaskn.tripod.com/
What hardware is your SQL Server running on?
http://vyaskn.tripod.com/poll.htm




"Chris Hornberger" <chris (AT) chornbe (DOT) com> wrote

Each quarter or perhaps several more times per year, I have to run an
import on data from between 20 and 40 access DBs, each containing 700k
records (or so). I want to automate DTS in such a way that I can
simply feed it the file name of the MDB and call it in a loop. Each
Access MDB file contains one table that is always the same name, so
the only variable here is the file name.

I *could* simply rename the file to something like "currentimport.mdb"
and run a prepackaged DTS, then rename it when I'm done, and do that
in a loop, but if I can keep from messing with my original source
files, all the better.

Plus, this option goes away if I get them on CD which it looks like I
will be.

Thanks in advance.

Chris Hornberger
chornbe (AT) rcn (DOT) 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.