dashllh
2009-02-16 05:36:02 UTC
Hi!
The workflow of my DTS is somewhat like this:
---------------------------
An ExecuteSQLTask ---> An ActiveScriptTask
---------------------------
The first task will run a procedure,which uses "Select @retval as ErrorCode"
to pass out a return value, and a global varaible "ErrorStatus" has been set
using the ExecuteSQLTask's right-click property to receive the
value.Then,the second task will check the global varaible.
My issuse is,there exist some situations in which the var "ErrorStatus" got
nothing,which should be impossible.
How could this happen?
Report post as abusive
The workflow of my DTS is somewhat like this:
---------------------------
An ExecuteSQLTask ---> An ActiveScriptTask
---------------------------
The first task will run a procedure,which uses "Select @retval as ErrorCode"
to pass out a return value, and a global varaible "ErrorStatus" has been set
using the ExecuteSQLTask's right-click property to receive the
value.Then,the second task will check the global varaible.
My issuse is,there exist some situations in which the var "ErrorStatus" got
nothing,which should be impossible.
How could this happen?
Report post as abusive