In my DTS Package, one of the step is Exec SQL task and that is what I put in:
Declare @result int
Exec @result = uspStoredprocedure
What I want is
If @result = 0
exec Active X script 1
If @result = 1
exec Active X script 2
But I don't know how to do this in the EXEC SQL TASK.
Does anyone have any idea?
Thanks a lot.