dbTalk Databases Forums  

return value from ActiveX Script Task

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss return value from ActiveX Script Task in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
JT
 
Posts: n/a

Default return value from ActiveX Script Task - 10-19-2004 , 11:28 AM






i have a DTS package that executes a JScript using the ActiveX Script task.
but how do i pass a value to this script (from SQL) and then view the return
value? or is this even possible?

basically, this JScript will encrypt a given string using MD5 encryption -
so i want to be able to pass a string to this dts task, and have it output
the encrypted version of the string.

any ideas?

tia

jt



Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: return value from ActiveX Script Task - 10-19-2004 , 12:04 PM






Use global variables as these can be read and written to from within
scripts.


--
Darren Green
http://www.sqldts.com


"JT" <jt (AT) nospam (DOT) com> wrote

Quote:
i have a DTS package that executes a JScript using the ActiveX Script
task.
but how do i pass a value to this script (from SQL) and then view the
return
value? or is this even possible?

basically, this JScript will encrypt a given string using MD5 encryption -
so i want to be able to pass a string to this dts task, and have it output
the encrypted version of the string.

any ideas?

tia

jt





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.