Quantcast
Channel: beyondrelational.com
Viewing all articles
Browse latest Browse all 25

When exactly scheduled jobs started and completed - SQL Server

$
0
0

Some days ago, i worked to get failed jobs detail and an alert for the same. I used some system tables from msdb database to fetch the details for same. And msdb.dbo.sysjobhistory is one of the table among them which used in the script. But this table not contain data which shows the date and time when the job exactly started and completed. There are there fields which help use to get the same details,

  • run_date
  • run_time
  • run_duration
Continue Reading...

Viewing all articles
Browse latest Browse all 25

Trending Articles