This query will give you the current job status of all scheduled jobs on sql server. Just by using sysJobs, and sysJobHistory table you will get to know the details
about the last status of the scheduled jobs, irrespective of their status like failed, successful, or cancelled.
Note: You must have admin right on MSDB database in order to execute this query.
Mohit Nayyar
MCP, MCAD, MCSD, MCDBA
Detect SQL Server Instances using reg.exe
Detect SQL Server Instance(s) using reg.exe from the resource kit, just pass the host name! (and make sure reg.exe from the resouce kit is in the ../tools/bin directory. SS2k Only.Enjoy!
2002-04-23
1,047 reads