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 |
learntsql
524 Posts |
Posted - 2009-12-15 : 08:01:09
|
Hi..How to run SQL Agent Jobs sequntially.i.e if i have 2 jobs job1 and Job2I will schedule Job1 everyday/some periodOnce job1 is completed successfully then automatically job2 has to run.Or should i call Second Job's stored procedure in job1's stored procedure.What is the best way.? plz. guide me.TIA. |
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
Posted - 2009-12-15 : 08:25:12
|
how about to put ALL steps in ONE job? No, you're never too old to Yak'n'Roll if you're too young to die. |
 |
|
gangadhara.ms
Aged Yak Warrior
549 Posts |
Posted - 2009-12-15 : 09:21:06
|
Hi,You can create flow of execution in SSIS package,Suppose if u want to execute proc 1 at some time x after completion of the task1 you can run the task2. |
 |
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
Posted - 2009-12-15 : 15:00:27
|
Or make a third job that starts the other two jobs in the right order. No, you're never too old to Yak'n'Roll if you're too young to die. |
 |
|
|
|
|