Monitor SQL Server Agent Job History Data with T-SQL
All the jobs information are stored in system tables of MSDB system database. Here we are going to use sysjobs and sysjobhistory tables to monitor information for each scheduled jobs execution. Below query will help you to monitor jobs name, time and status messages so that you can monitor your jobs easily with a single query and date time format can be seen perfectly with SQL function agent_dateâŚ
View On WordPress













