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
 Querying the execution time of a job

Author  Topic 

Johnph
Posting Yak Master

103 Posts

Posted - 2013-05-07 : 10:30:48
I was wondering if there is a system table somewhere in which I can query the execution time of a specific SQL Server agent job.

James K
Master Smack Fu Yak Hacker

3873 Posts

Posted - 2013-05-07 : 10:33:25
It is in msdb.dbo.sysjobhistory http://msdn.microsoft.com/en-us/library/ms174997.aspx
Go to Top of Page

Johnph
Posting Yak Master

103 Posts

Posted - 2013-05-07 : 10:38:07
Thank you
Go to Top of Page

James K
Master Smack Fu Yak Hacker

3873 Posts

Posted - 2013-05-07 : 12:19:19
Welcome - glad to be of help.
Go to Top of Page
   

- Advertisement -