November 13, 2012 at 10:26 am
Hi All,
How could I run a sql job or maintenance plan on server startup?
Thanks
November 13, 2012 at 11:56 pm
In a schedule, you can choose "Start automatically when SQL Server Agent starts" as the schedule type.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
November 15, 2012 at 4:13 am
Hi,
have a look at this article:
Regards.
November 20, 2012 at 2:58 am
Hi There are two ways to do it
1)If it is a sql agent job.you set the startup option in job schedule on to run at startup
2)If you have a procedure u need to enable it to run at startup using
sp_procoption @ProcName = 'YourSP',
@OptionName = 'startup',
@OptionValue = 'on'
Santhu
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply