문제

I have a job set up in SQL Server called "Retreat Update". It is a job that the SQL Server Agent runs every 45 minutes. Is there a SELECT statement or a system stored procedure that I can execute to determine if the job is currently running or if its idle?

도움이 되었습니까?

해결책

I think you can use sp_help_job to see the status of the jobs on the server. You can see more information on it here.

From my search on SQL Help, try...

EXEC dbo.sp_help_job @Job_name = 'Retreat Update'

enter image description here

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top