Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

could not find stored procedure xp_sendmail 1

Status
Not open for further replies.

collierd

MIS
Dec 19, 2001
509
DE
Hello

I am using SQL Server 2000

Does anybody know why the following query returns 'Could not find stored procedure xp_sendmail ?

Code:
exec xp_sendmail
   @recipients = 'collierd',
   @message = 'area translation failure on',
   @subject = 'area translation failure on'

Thanks

Damian.
 

you might try forum183 (the microsoft sql/server forum)


rudy
 
xp_sendmail like all extended stored procs only exists in the master database.

So

exec master..xp_sendmail
@recipients = 'collierd',
@message = 'area translation failure on',
@subject = 'area translation failure on'

or

exec master.dbo.xp_sendmail
@recipients = 'collierd',
@message = 'area translation failure on',
@subject = 'area translation failure on'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top