SQL 2005 Email Job Completion Reports

I'm setting up a Maintenance Plan in SQL 2005. It is a simple plan to just backup sql databases. After the JOB is done, I want it to email me with a report of the summary whether it's failed or succeeded.

How do I go about doing that?

I was able to setup an SQL Operator, and use the NOtifiy Operator Task at the end but that just seems to be a way to email a person with a generic text that I define and not the actual summary report
trcadminAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

RimvisCommented:
You could configure additional steps, one for success notification, another for failure. In this step, you will send email by using dbo.sp_send_dbmail stored procedure.

Check this link for additional information:
http://articles.techrepublic.com.com/5100-10878_11-6164310.html
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
trcadminAuthor Commented:
so i'm guessing there's no check box button for this. I gotta write up a query?
0
RimvisCommented:
I think so.
0
RimvisCommented:
BTW, just encountered this link. I think it could be useful to you.


Script to send an email based on contents of a job step's output file
http://www.sqlservercentral.com/scripts/Email/64272/

0
trcadminAuthor Commented:
We used this as a springboard for writing our own query
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2005

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.