May 5, 2006 #1 tcstom Programmer Joined Aug 22, 2003 Messages 235 Location 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 Joined Jul 12, 2002 Messages 986 Location 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 Joined Aug 22, 2003 Messages 235 Location 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.