Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
tocroi72
Yak Posting Veteran
89 Posts |
Posted - 2010-06-25 : 12:28:15
|
hi I have a job that has 2 steps ,step 1 is executing a stored procedure.next step need to execute base on the result of the first step.basically i want to say if @i = 1 (@i is variable from the first step) then the job is successful and the next step is executedotherwise i want it to fail so the next step doesn't get executedPlease help. Thanks. |
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
tocroi72
Yak Posting Veteran
89 Posts |
Posted - 2010-06-25 : 16:28:50
|
good idea. Thanks I'll try that. |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
|
|