본문 바로가기

Database/MS-SQL

SQLServerAgent / SQL Server Agent 구동

반응형

EXEC master.dbo.xp_ServiceControl 'QUERYSTATE','SQLServerAgent'
EXEC master.dbo.xp_ServiceControl 'START', 'SQLServerAgent'
EXEC master.dbo.xp_ServiceControl 'STOP', 'SQLServerAgent'