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

DTS/TRANSACT - passing variables

Status
Not open for further replies.

mapfax

Technical User
Apr 23, 2002
29
0
0
GB
Is is possible to transfer the results of a @variable in Transact SQL to a global variable in VBScript?

I want to check if a file exists so I thought I would use 'xp_fileexist' before I run my ActiveX.

Declare @result int
exec xp_fileexist ‘filename’, @result output

Thanks for any help.
 
I have found another way to do this, using File System Object in ActiveX. Would still be interested to know if/how variables can be passed between T-SQL and VBScript.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top