Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Pass query results to sp_SMTPMail

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2004-06-10 : 08:16:07
Rick writes "How do/Can I pass the result of a query to the sp_SMTPMAIL stored Proc as the body?"

Merkin
Funky Drop Bear Fearing SQL Dude!

4970 Posts

Posted - 2004-06-10 : 20:20:17
You can not. You would have to build it as a string, which isn't likely to work because of the character limit for sp_OASetProperty.

You might need to find another way around it.


Damian
Go to Top of Page
   

- Advertisement -