Hi,
I want to send the result of a query in the body of a mail message. I'm using sp_send_cdosysmail.
How can I get the query result into the @body variable?

Thanks in advance!