Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Selecting server and database via Global Variables

Status
Not open for further replies.

WBH1138

Programmer
May 31, 2002
85
GB
I'm using a DTS package, saved as a Structured Storage File, which has 2 Global Variables to specify the Server and Database to run against.
From within VB I'm executing the package using the following Shell function;
Shell (dtsrun /NPackageName /FC:\Temp\DTSPackage.dts /AServerName:8="Server1" /ADatabaseName:8="Database1")

However, the package always runs against one specific server and database, whatever I pass in the Globals.

I've removed some references to this server and database which were in the Dynamic Properties, but could there be other references, set up when originally designed, that need to be removed?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top