Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
microsoft.public.sqlserver.programming
xp_sendmail and operators
Test Test
3/8/2007 8:25:00 PM
Can SQL operators be called form "xp_sendmail" stored proc?
xp_sendmail
@recipients = 'DBA'
Thanks for your help.
*** Sent via Developersdex
http://www.develop...
***
1 Answer
Tibor Karaszi
3/9/2007 9:47:00 AM
0
Not directly, you would have to get the email address for the operator from the appropriate system
table in msdb and then use that email address in xp_sendmail.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/d...
http://www.solidqualitylea...
"Test Test" <farooqhs_2000@yahoo.com> wrote in message news:evJjH$bYHHA.4368@TK2MSFTNGP06.phx.gbl...
> Can SQL operators be called form "xp_sendmail" stored proc?
>
> xp_sendmail
> @recipients = 'DBA'
>
> Thanks for your help.
>
>
> *** Sent via Developersdex
http://www.develop...
***
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
xp_sendmail and operators
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password