May 13, 2011 at 12:14 pm
I am want to enable a job schedule in a SSIS package. So I was testing hte store procedure and found this error.
EXEC dbo.sp_update_schedule
@schedule_id = 27,
@enabled = 1;
Could not find stored procedure 'dbo.sp_update_schedule'.
I double checked the user I am loggin in as has the role SQLAgentOperatorRole in the MSDB database.
What else can I check/set?
Thanks for the help,
Bill
May 13, 2011 at 12:19 pm
are you in the msdb database?
Either switch to that or preface your statement with
Use msdb
http://msdn.microsoft.com/en-us/library/ms187354.aspx
--------------------------------------
When you encounter a problem, if the solution isn't readily evident go back to the start and check your assumptions.
--------------------------------------
It’s unpleasantly like being drunk.
What’s so unpleasant about being drunk?
You ask a glass of water. -- Douglas Adams
May 13, 2011 at 12:21 pm
I am assuming you are not using msdb? Add msdb to your proc call and that should fix it.
_______________________________________________________________
Need help? Help us help you.
Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.
Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/
May 13, 2011 at 12:25 pm
Thank you.
exec mnsdb.dbo.sp_upodate worked as advertised.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply