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!

DTSglobalvariable to SQl query?

Status
Not open for further replies.

forhead

Programmer
Jun 30, 2003
1
US
How do I pass a SQL query result(a single integer value) of one DTS step to another?
I know I have to use globalvariables, however, it seems that globalvariables can only be accessed by ACtiveX scripts , not SQL query.
Thanks in advance.

Aja
 
You can use a global variable by using ? (and it sometimes works) but I prefer to set the source query in an activex task before the queery.
see


======================================
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top