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 2005 Forums
 Transact-SQL (2005)
 send mail

Author  Topic 

inbs
Aged Yak Warrior

860 Posts

Posted - 2010-02-07 : 05:05:30
i want to send some values that returns for the query

SELECT OrderNumber FROM T

OrderNumber
123
687
988

how i send it by mail?

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-02-07 : 10:28:34
use sp_send_dbmail procedure

http://msdn.microsoft.com/en-us/library/ms190307.aspx
Go to Top of Page
   

- Advertisement -