How can we schedule alert message when job fails in task sechudler in sql server

NN 0 Reputation points
2023-09-17T07:40:18.6533333+00:00

How can we schedule alert message when job fails in task sechudler in sql server

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,685 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Erland Sommarskog 110.4K Reputation points MVP
    2023-09-17T09:56:57.6+00:00

    A quick search on Google found a couple of links. This one seems to be useful: https://www.c-sharpcorner.com/article/email-notification-on-sql-job-failure/

    0 comments No comments

  2. ZoeHui-MSFT 36,116 Reputation points
    2023-09-18T02:15:58.26+00:00

    Hi @NN,

    You may check it out here.

    https://stackoverflow.com/questions/40092097/generating-error-full-message-in-email-when-sql-agent-job-fail

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

  3. Olaf Helper 44,311 Reputation points
    2023-09-18T05:33:07.4+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.