SQL Job History details

  • How do I collect these 2 values as in the screenshot attached using SQL query.

    1.Limit size of job history log:

    2.Remove agent history:

    Thanks

  • Check out some of the stored procedure's in MSDB, e.g 'msdb.dbo.sp_get_sqlagent_properties', this should point you in the right direction.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply