SQL Job Threshold - Different threshold for each job steps

  • Hello,

    Can I set the rule that looks at long running SQL jobs to have different thresholds for each job steps? specific for each job steps? I would like to actually have different thresholds if its possible.Please advise.

  • You may use a custom query which monitors the job status. This query gives the status of a given job

    EXEC msdb.dbo.sp_help_job @Job_name = 'The Job Name'

    The following tables hold all the information about the jobs.

    msdb.dbo.SysJobs

    msdb.dbo.SysJobSteps

    msdb.dbo.SysJobSchedules

    msdb.dbo.SysJobServers

    msdb.dbo.SysJobHistory

    Pradeep Adiga
    Blog: sqldbadiaries.com
    Twitter: @pradeepadiga

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

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