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 2005 Forums
 Transact-SQL (2005)
 T-SQL: Start SQL Server Agent

Author  Topic 

im1dermike
Posting Yak Master

222 Posts

Posted - 2009-06-02 : 09:45:45
Is there a stored procedure or other T-SQL code I can use to start a server's SQL Server Agent?

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2009-06-02 : 10:02:50
xp_cmdshell 'net start mssqlagent'



E 12°55'05.63"
N 56°04'39.26"
Go to Top of Page
   

- Advertisement -