Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Dynamically Load a file

Author  Topic 

supersql
Yak Posting Veteran

99 Posts

Posted - 2006-07-20 : 08:58:25
How can I dynamically select a file to load in my DTS package?
How to work with global variable so that I can pass a file name to the pkg through a parameter from a SP.

nr
SQLTeam MVY

12543 Posts

Posted - 2006-07-20 : 09:57:44
see
http://www.nigelrivett.net/DTS/sp_oacreateLoadDTSpackage.html
That sets a global variable to a filename when running a package.

You can also set the variable in the dtsexec command which is easier - have a look at the command in bol.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -