Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Limit size of job history log

Status
Not open for further replies.

JayKusch

MIS
Oct 30, 2001
3,199
US
Is there a way to Disable the ""limit size of job history log" besides going thru Enterprise Manager.

I am looking for a way to do this via a command or stored procedure.

Thanks

J. Kusch
 
That info is stored in the registry. I guess you could use xp_regwrite to turn it off/on.

If you look at sp_jobhistory_row_limiter in MSDB you can see how it uses xp_regread to determine the status.
 
Is "sp_jobhistory_row_limiter" the correct name for the SP? I have looked in BOL as well as Googled it with no luck.

I did get a hit on "xp_regwrite" to get me started.

Thanks

J. Kusch
 
Yes. Just confirmed that's the name. I confirmed that there's not much out there when doing a search, either.

The only thing I found was an install script at:


And a mention of it on a google group (as part of a script - no info you'd want):

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top