Unix Technical Forum

SQL Server Agent Job History

This is a discussion on SQL Server Agent Job History within the SQL Server forums, part of the Microsoft SQL Server category; --> I have changed the following setting in SQL Server 2000: Right click SQL Server Agent and go to properties/Job ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-29-2008, 07:13 AM
tcaylor@thomasnelson.com
 
Posts: n/a
Default SQL Server Agent Job History

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.

Thanks.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2008, 07: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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:49 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com