如何查询正在运行的SQL Server agent job
时间:2019-12-04 14:09:10
收藏:0
阅读:181
运行"msdb"系统数据库下的存储过程"dbo.sp_help_job",可以得知现在SQL Server中有多少个正在运行的agent job:
USE [msdb] EXEC msdb.dbo.sp_help_job @execution_status=1
查询结果如下:
原文:https://www.cnblogs.com/OpenCoder/p/11981863.html
评论(0)