摘要: SELECT CASE WHEN dss.[status]=4 THEN 1 ELSE 0 END AS isRunning FROM [#db].sys.dm_server_services dss WHERE dss.[servicename] LIKE N'SQL Server Agent ( 阅读全文
posted @ 2024-06-17 16:52 Marydon 阅读(402) 评论(0) 推荐(0) 编辑