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 2005 Forums
 SQL Server Administration (2005)
 Clearing old SQL Agent Job History
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ianbhenderson73
Starting Member

United Kingdom
2 Posts

Posted - 08/05/2013 :  03:32:09  Show Profile  Reply with Quote
Good morning all

I've recently discovered that there's a stored procedure available in SQL 2008/2012 which automatically clears down the SQL Server Agent job histories, thus making it far quicker to get information on a job's historical performance.

Can anyone tell me if there's a SQL 2005 version of the sp_syspolicy_purge_history procedure?

Thanks

Ian Henderson
BI Developer

visakh16
Very Important crosS Applying yaK Herder

India
52317 Posts

Posted - 08/05/2013 :  04:23:08  Show Profile  Reply with Quote
you've sp_purge_jobhistory available in sql 2005 for deleting history records

http://msdn.microsoft.com/en-us/library/ms175044(v=sql.90).aspx

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
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.05 seconds. Powered By: Snitz Forums 2000