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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing global variables to DTS using DTSRUN

Status
Not open for further replies.

paoloc

IS-IT--Management
Aug 14, 2002
14
0
0
US
Can anyone help me understand how to access global variables passed from a DTSRUN command to the DTS?
The dtsrun statement is as follows:
dtsrun /S volcano /E /N dts_name /A foo:3=9999999

The DTS "dts_name" runs the following query:

SELECT * FROM table_name
where var1 is null and var2= ????global_variable_here????

Tks for any input.

Bst Rgds

_PC
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top