Groups | Blog | Home
all groups > sql server dts > june 2004 >

sql server dts : Global Variables set up


Thomas Scheiderich
6/21/2004 3:56:29 PM
I have 50 packages that are going to call one package and I need to set up a
few global variables.

Is there an easy way to set up all the packages to have the same Global
variables?

It is going to take a great deal of time to open each package and add 3
variables.

Also, what about next month, when we decide we want to track something else,
I will need to do it again.

Thanks,

Tom.

Thomas Scheiderich
6/21/2004 9:57:43 PM
[quoted text, click to view]

We have to quit meeting like this :)

There may not be an easy way to do this, in my case. I am setting up a
separate task already specifically to allow me to makes changes in the
future, without the need to add tasks or code in each package to handle new
functions. Unfortunately, if I need to add a new variable, I would also
need to put some code in each package to deal with the new variable. Most
of the code will be in the single package, hopefully.

Thanks,

Tom.
[quoted text, click to view]

Darren Green
6/22/2004 1:38:21 AM
In message <10dephpn7oeku7b@corp.supernews.com>, Thomas Scheiderich
<tfs@deltanet.com> writes
[quoted text, click to view]

The best way to do this is to design your packages, in advance, to read
from a central location, be that a SQL Server table, ini file or
similar, using the Dynamic Properties Task.

If the packages already exist you could manually alter them to do this
or write some code to load each package, and the requires tasks, or just
update the relevant task as a one off.


--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org
AddThis Social Bookmark Button