|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Yesterday @ 12:42 PM
Points: 138,
Visits: 510
|
|
USE msdb ; GO
EXEC dbo.sp_start_job N'Weekly Sales Data Backup' ; GO The syntax is for kick off the single job when one job is done.
now my question is? what is syntax for adding for two or more job kick off at time. I mean adding one more job and should run parallely.
Thanks in Advance.
|
|
|
|
|
SSC-Addicted
      
Group: General Forum Members
Last Login: Yesterday @ 2:32 PM
Points: 442,
Visits: 1,302
|
|
Sorry but the sp_start_job stored proc only accepts a single job name. try:
EXEC dbo.sp_start_job N'Weekly Sales Data Backup' ; go EXEC dbo.sp_start_job N'Next Database Data Backup' ; go
Alternately you could just schedule the jobs, thats what the scheduler is there for.
Cheers
Leo
|
|
|
|