Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQLMail

Status
Not open for further replies.
Apr 4, 2003
25
GB
Hi,

This is probably a real simple question for most of you but i'm just not sure how to set it up in SQL.

Using MSSQL 2K

I want to set up a job to run a report off and then email that report to a recipitent.

I know how to set up SQL Mail to email notification when a job completes and so forth but can anyone tell me how to set it up so that it emails the report?

Thanks for you help.

Dylan
 
Use the xp_sendmail command to email the report. There's a lot of info about xp_sendmail in BOL.

Denny

--Anything is possible. All it takes is a little research. (Me)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top