Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 SQL Jobs

Author  Topic 

sanjay5219
Posting Yak Master

240 Posts

Posted - 2011-07-13 : 04:11:42
Hi All,
I am looking for a query which provide be below result.

JOB_Name
Last_Run_Date
Status (Enable / Disable)
Next_Run_Date

Please suggest

mohdowais
Sheikh of Yak Knowledge

1456 Posts

Posted - 2011-07-13 : 04:21:03
The sysjobs table in the msdb database has all the details you need. http://msdn.microsoft.com/en-us/library/ms189817.aspx

OS
Go to Top of Page
   

- Advertisement -