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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Querying the execution time of a job
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Johnph
Posting Yak Master

103 Posts

Posted - 05/07/2013 :  10:30:48  Show Profile  Reply with Quote
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
Flowing Fount of Yak Knowledge

3873 Posts

Posted - 05/07/2013 :  10:33:25  Show Profile  Reply with Quote
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 - 05/07/2013 :  10:38:07  Show Profile  Reply with Quote
Thank you
Go to Top of Page

James K
Flowing Fount of Yak Knowledge

3873 Posts

Posted - 05/07/2013 :  12:19:19  Show Profile  Reply with Quote
Welcome - glad to be of help.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000