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!

SQL Server Email notification issue

Status
Not open for further replies.

srivathsani

Programmer
Jan 24, 2006
1
US
I am sending email notifications once backup operations are completed from sql server using cdosys.In the text body ,i am using the token [A-MSG].I am getting the error

Executed as user: sa. Line 8: Incorrect syntax near ''. [SQLSTATE 42000] (Error 170). The step failed.

Plz help


 
It really helps is you show your code :)

Errors by themselves are usefull, but more often that not, what is raising the error is more usefull in helping to solve the problem....

At this point the only answer I have with the info you have given is the "Queen of Spades"


:)


Rob
 
Any reason that you are using cdosys instead of xp_sendmail or xp_smtp_sendmail?

Denny
MCSA (2003) / MCDBA (SQL 2000)

--Anything is possible. All it takes is a little research. (Me)
[noevil]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top