January 30, 2012 at 10:58 am
I learned the other day to use sp_add_jobschedule to add a Schedule to an existing job. Is there another Stored Procedure that allows me to change an exisitng schedule?
Also, is there a Stored Procedure to edit Steps in an existing job?
Thank you.
Steve
January 30, 2012 at 11:11 am
sp_update_schedule: http://msdn.microsoft.com/en-us/library/ms187354.aspx
sp_update_job: http://msdn.microsoft.com/en-us/library/ms188745.aspx
sp_add_jobstep: http://msdn.microsoft.com/en-us/library/ms187358.aspx
- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread
"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
January 30, 2012 at 12:42 pm
Thank you very much. 🙂
May 21, 2014 at 3:25 pm
Questions:
I have a SQL Server 2008 R2 and have 100 SQL Agent jobs listed with different schedule and time stamps.
Now, I needed to add addtion 7 hours to the existing those SQL Agent job's schedule time.
How can I do that in T-SQL.
Please help and thank in advance.
Thank you.
Edwin
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply