Email notification on individual job steps

  • How can I have Sql Server 08 notify me when step one has completed successfully. I don't have to have to open up MStudio to check it. I would like to know that it is successful with this manual step. Can I add it to the bottom of the step?

  • You could add a step in between 1 and 2, that sends an e-mail to you.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • Wow, that was too simple. I've been looking at this package for hours. What is the best method for sending the email from the step? CmdExe, powershell?

  • Since you're posting in the SQL 2000 forum, I'm assuming that's what you're using. It's been WAY too long for me, and I don't remember the options in there.

    If it's actually 2005/2008, then DBMail is the easiest.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • Thanks. You have been extremely helpful.

  • You're welcome.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • ckingtaylor (1/20/2011)


    Wow, that was too simple. I've been looking at this package for hours. What is the best method for sending the email from the step? CmdExe, powershell?

    If using SQL 2000, use xp_sendmail. If SQL 2005/2008, use sp_send_dbmail.

    Greg

Viewing 7 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply