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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

email results of query as body text 1

Status
Not open for further replies.

sedgely

Technical User
Feb 21, 2002
406
GB
i have been tasked with sending out by email some performance figures on a regular basis. i have a stored proc that returns the figures and i know how to send them out as an attachment, but "they" want the figures as part of the email body text. does anyone know if this is possible and if so how do i go about doing it?

Cheers, Craig
Si fractum non sit, noli id reficere
 
Hi Sedgley,

Are you using xp_sendmail? If so, add another parameter

Code:
@attach_results = 'false'

Cheers,

M.
 
Thanks Mutley1 that did the trick. you can have a star for that - my headache has just disappeared[flip]

Cheers, Craig
Si fractum non sit, noli id reficere
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top