SQL Server email notification issue

Tags:
SQL Server
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

Answer Wiki

Thanks. We'll let you know when a new response is added.

We’d need to see the syntax that’s generating the error, if you want useful comments. With the information supplied, all we can say is you’re doing something wrong.

Actually, two things; you’re also using the default ‘sa’ account. That’s technically okay if this is strictly a test environment, but it’s still better practice to get used to using a more secure account.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following