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
 Import/Export (DTS) and Replication (2000)
 Global variable use w/Transform data task

Author  Topic 

eyechart
Master Smack Fu Yak Hacker

3575 Posts

Posted - 2004-03-18 : 16:46:33
In DTS is it possible to use a global variable to populate the "Table Name" field on the destination tab in the Transform Data Task properties screen?

Thanks.



-ec

nr
SQLTeam MVY

12543 Posts

Posted - 2004-03-18 : 17:46:58
Yes.
You can use a dynamic properties task or an activex script.
For the activex script see
http://www.nigelrivett.net/SetDTSRunTimeValues.html

For the dynamic properties - just add one to the package and you will see how to use it.

==========================================
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

eyechart
Master Smack Fu Yak Hacker

3575 Posts

Posted - 2004-03-18 : 17:52:44
thanks Nigel. I dug a little further into the dynamic properties and found what I needed. Thanks for the help.



-ec
Go to Top of Page

scottpt
Posting Yak Master

186 Posts

Posted - 2004-10-05 : 11:46:03
Hey, I need the code. Help me be lazy.
Go to Top of Page
   

- Advertisement -