Sql Job History

  • Where is the Frequency of when a job runs stored at? It is not in sysjobschedules table in msdb. I want a way to just purge out job history but weekly for daily run jobs, monthly for weekly run jobs, and yearly for monthly run jobs.

    Thanks,

    Daniel

  • Here are some scripts I use to show the jobs and thier related schedules. You should be able to use this to see how the tables are related.

    http://mssqltips.com/tip.asp?tip=1622

  • Thanks.

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

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