![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have to send an e-mail based on the results of a SELECT. i.e. SELECT something FROM sometable WHERE something The e-mail must contain text based on this result. How can I do it with DTS. Thanks. |
#3
| |||
| |||
|
|
I have to send an e-mail based on the results of a SELECT. i.e. SELECT something FROM sometable WHERE something The e-mail must contain text based on this result. How can I do it with DTS. Thanks. |
#4
| |||
| |||
|
|
to run in DTS you need to create an Execute SQL task and use the xp_sendmail Extended Stored Procedure (see Books online for more info) http://msdn.microsoft.com/library/de.../en-us/tsqlref /ts_xp_aa-sz_6hbg.asp Andy. "Vicente Fuentes" <vicente (AT) tesipro (DOT) com> wrote in message news:uZoz5ICYEHA.4008 (AT) TK2MSFTNGP09 (DOT) phx.gbl... I have to send an e-mail based on the results of a SELECT. i.e. SELECT something FROM sometable WHERE something The e-mail must contain text based on this result. How can I do it with DTS. Thanks. |
![]() |
| Thread Tools | |
| Display Modes | |
| |