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.
Author |
Topic |
tutufool
Starting Member
14 Posts |
Posted - 2006-09-26 : 06:28:58
|
In the DTS package Designer, I update a global variable in my ActiveX script like:DTSGlobalVariables("lastRunDate").Value = now()the "lastRunDate" will be updated every time I run the DTS in desinger, but if I quit designer and goto the package list page, right click the package and execute it, the variable will not be updated, how can I make the variable persistent?thanks |
|
Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)
7020 Posts |
Posted - 2006-09-26 : 09:43:05
|
You would have to save the DTS package after changing the global value.You would be better off storing this information in a table. It't a lot easier to update.CODO ERGO SUM |
|
|
|
|
|