View Single Post

   
  #2 (permalink)  
Old 02-29-2008, 06:13 AM
Erland Sommarskog
 
Posts: n/a
Default Re: SQL Server Agent Job History

(tcaylor@thomasnelson.com) writes:
> I have changed the following setting in SQL Server 2000:
> Right click SQL Server Agent and go to properties/Job System and
> deselected limit size of job history log. I want to keep all job
> histories in msdb indefinitely.
>
> Is there a way to leave this setting on, but configure how much history
> shows when you right click an individual job and go to its job history?
> In other words, I want to keep all of the job history in msdb, but
> only want maybe the last 10 or so to be displayed under right click
> job/job history.


You could hack sp_help_jobhistory, but I certainly would not recommend it.
But that's also the only option.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
Reply With Quote