To execute a job from VB, I use stored procedure with T-SQL :
EXEC sp_start_job @job_name = 'DTSName'
[color=blue]
>From BOL, I know that procedure return 0 (success) or 1 (failure), but[/color]
that's only to tell user that job successfully started, right?
What I need is how to know is that job have executed successfully or
failed, so if success i will execute another code.
Please help me, thanks
EXEC sp_start_job @job_name = 'DTSName'
[color=blue]
>From BOL, I know that procedure return 0 (success) or 1 (failure), but[/color]
that's only to tell user that job successfully started, right?
What I need is how to know is that job have executed successfully or
failed, so if success i will execute another code.
Please help me, thanks
Comment