May 5, 2006 #1 tcstom Programmer Aug 22, 2003 235 GB Hi, I want to execute a SQL Agent job from a stored procedure in SQL Server 2000. Is this possible? If so, how can I do it? Thanks.
Hi, I want to execute a SQL Agent job from a stored procedure in SQL Server 2000. Is this possible? If so, how can I do it? Thanks.
May 5, 2006 1 #2 JohnDTampaBay Programmer Jul 12, 2002 986 US Check out sp_start_job in BOL. --John ----------------------------------- Behold! As a wild ass in the desert go forth I to do my work. --Gurnie Hallock (Dune) Upvote 0 Downvote
Check out sp_start_job in BOL. --John ----------------------------------- Behold! As a wild ass in the desert go forth I to do my work. --Gurnie Hallock (Dune)
May 5, 2006 Thread starter #3 tcstom Programmer Aug 22, 2003 235 GB Thanks JohnDTampaBay. I'd heard of that SP but didn't realise it had to be executed using the msdb database. Thanks again. Upvote 0 Downvote
Thanks JohnDTampaBay. I'd heard of that SP but didn't realise it had to be executed using the msdb database. Thanks again.