I want to write a query that returns if a specified job is currently running. I expect to find this data in the msdb.dbo.sysjobs or msdb.dbo.sysjobhistory tables but nothing jumps out as the field I want.
Can someone tell me what field and table I need to return the current job status?
Thanks
Can someone tell me what field and table I need to return the current job status?
Thanks