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

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 history of job
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sravanim
Yak Posting Veteran

57 Posts

Posted - 03/26/2013 :  10:38:43  Show Profile  Reply with Quote
Is there any way to get job history after executing sp_purage_history?

robvolk
Most Valuable Yak

USA
15636 Posts

Posted - 03/26/2013 :  10:50:22  Show Profile  Visit robvolk's Homepage  Reply with Quote
The history is stored in the sysjobhistory table in the msdb database. If you make regular backups of msdb (and you should) you can restore them to another database and copy the contents of sysjobhistory to a permanent store. Or modify your purge job to copy the history elsewhere beforehand.
Go to Top of Page

sravanim
Yak Posting Veteran

57 Posts

Posted - 03/26/2013 :  11:08:02  Show Profile  Reply with Quote
how to see lock time in sqlserver?
Go to Top of Page

robvolk
Most Valuable Yak

USA
15636 Posts

Posted - 03/26/2013 :  11:11:48  Show Profile  Visit robvolk's Homepage  Reply with Quote
What does lock time have to do with job history?
Go to Top of Page

sravanim
Yak Posting Veteran

57 Posts

Posted - 03/26/2013 :  11:17:01  Show Profile  Reply with Quote
This one is different post.
Go to Top of Page

robvolk
Most Valuable Yak

USA
15636 Posts

Posted - 03/26/2013 :  11:37:02  Show Profile  Visit robvolk's Homepage  Reply with Quote
Please start a new thread for new questions.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New 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