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.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Execute Stored proc in msdb

Author  Topic 

patshaw
Posting Yak Master

177 Posts

Posted - 2007-09-14 : 22:48:46
How do I execute a stored proc in msdb from a stored proc in a user table in a user database when you cant use 'USE MSDB' in a stored proc?

Kristen
Test

22859 Posts

Posted - 2007-09-14 : 22:52:50
EXEC msdb.dbo.NameOfSproc ??

Kristen
Go to Top of Page

patshaw
Posting Yak Master

177 Posts

Posted - 2007-09-15 : 04:15:37
Duh! Sorry, it was a very late night..............
Go to Top of Page
   

- Advertisement -