SQL Server DBA Tutorial 133-How to Setup the Email Notificaion For Job Failure on SQL Server

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ม.ค. 2025

ความคิดเห็น • 16

  • @RIDDLE0MASTER
    @RIDDLE0MASTER 9 ปีที่แล้ว +3

    Good, clear and to the point! Really like your videos!

  • @Shuip14
    @Shuip14 3 ปีที่แล้ว

    Can you tell me if I can insert more than one "E-mail Name" on the "Notification Options" on one Operator? (min 3:13)
    And can I use more than one Database mail Account/Profile to send notifications into diferent Jobs ? (min 2:23)

  • @hiteshborkar3619
    @hiteshborkar3619 8 ปีที่แล้ว

    Hi Techbrothers, thanks for this video.
    I have a question, can we customize the message in the job failure notification message as per our need? because right now I am getting job failure but it is the default one as follows:
    __________________________________________________________________________
    JOB RUN: 'Disk alert' was run on 1/27/2017 at 10:35:31 AM
    DURATION: 0 hours, 0 minutes, 3 seconds
    STATUS: Succeeded
    MESSAGES: The job succeeded. The Job was invoked by User sa. The last step to run was step 1 (Disk alert).
    _________________________________________________________________________
    I am talking about the last line. thank you in advance.

  • @JoeVago
    @JoeVago 8 ปีที่แล้ว +2

    Extremely well done tutorial video - Thank you!

  • @developershandbook417
    @developershandbook417 ปีที่แล้ว

    Hi, Is there a way to include more detailed description of the failure in the email notification. I am using it to notify SSIS job failure. In that case, is it possible to send email with information about the failed SSIS component?

  • @luffyy8194
    @luffyy8194 3 ปีที่แล้ว

    Would be great if you give video link of operator on top right corner or description

  • @manoharchowdarycherukuri7088
    @manoharchowdarycherukuri7088 3 ปีที่แล้ว

    My requirement is without adding as a second step , i need to send a email notification when job fails by using operator. Pls Provide the Script for that. Help me out of this.

  • @bimithmaramveettill
    @bimithmaramveettill 4 ปีที่แล้ว

    sir i have configured as per your video after the job execution manually we execute the script
    it will send the mail with attachment but if try under a job create a notification email
    it will not sending any emails we are getting kind of below erro
    Failed to open attachment file 'D:\SQL_JOBS_NOTIFICATION_SUCCESS\test.txt'.
    Executing API 'CreateFile' failed with errror no 32
    kindly suggest me

    • @TechBrothersIT
      @TechBrothersIT  4 ปีที่แล้ว

      Please be sure that file is created already in previous step, also sql server agent and engine account has all permissions on the folder/folders that you have mentioned. From your error it seems like File doesn’t exist for it to pick up. You can monitor it live by opening folder on one side and running job or script on other side (Side by side)

  • @luffyy8194
    @luffyy8194 3 ปีที่แล้ว +1

    Thank you so much ♥

  • @FrostyJesus
    @FrostyJesus 6 ปีที่แล้ว

    Really helpful video, keep it up.

  • @jonnetg
    @jonnetg 8 ปีที่แล้ว +1

    Thanks!!!!!!!!!!!!!!!!!!!!!!!! =)

  • @SAMYTAHER
    @SAMYTAHER 6 ปีที่แล้ว

    √√√