Skip to Content
24x7 Support
Email: mail@example.com
Call Us +(21) 1234 5678

    • Home
    • MSSQL
      • SQL On Linux
      • T-SQL Scripts
    • Sybase ASE
      • Sybase Scripts
    • Sybase Replication
    • Sybase IQ
    • Linux
    • Search for:

    Tag Archives: SQL Server Agent

    1. Home  - 
    2. Posts tagged "SQL Server Agent"
    3 Oct, 2022
    T-SQL query to check failed SQL Agent Jobs in the Last 24 Hour 0 (0)
    MSSQL, T-SQL Scripts SQL agent job, SQL server, SQL Server Agent

    Below query can be used to check SQL Agent failed jobs in last 24 hours. This query can be used in the monitoring script to find out failed job in SQL server agent.

    SELECT sj.[name] AS "Failed Job Name", jh.run_date,jh.[message]
    … Read the rest
    26 Sep, 2022
    T-SQL script to get list of SQL Server Agent job 0 (0)
    MSSQL, T-SQL Scripts SQL server, SQL Server Agent, SQL Server Agent Job

    Below query can be used to get list of all the SQL Agent Job details in SQL Server.

    use msdb;
    go
    SELECT Convert(varchar(22),SERVERPROPERTY('ServerName')) AS 'ServerName',
    convert(varchar(35),j.name) as 'JobName',
    j.enabled,
    CASE j.enabled WHEN 1 THEN 'Enabled' Else 'Disabled' END AS 'JobStatus',
    … Read the rest
    Recent Posts
    • SQL Server: T-SQL Script to find object level permission of specific table
    • SQL Server: T-SQL Script to find object level permission of user database
    • T-SQL Script to get user with DB OWNER role in SQL Server
    • T-SQL script to list all database user access in SQL Server
    • T-SQL script to find active processes in SQL Server

    Pages

    • About Me
    • Contact
    • Disclaimer
    • Privacy Policy

    Categories

    • Linux (8)
    • MSSQL (75)
      • SQL On Linux (15)
      • T-SQL Scripts (19)
    • Sybase ASE (26)
      • Sybase Scripts (1)
    • Sybase IQ (3)
    • Sybase Replication (27)
    • Uncategorized (1)

    Archives

    Copyright © 2026 | Powered by Neom