Skip to content
Advertisement

SQL Server Stored Procedure to Send Email

This is my first attempt at writing a stored procedure that emails someone. When trying to execute I get these errors:

The code that I am using which is causing this is:

Advertisement

Answer

You’re missing a comma after the @body line, which is throwing off your declarations.

Add it here:

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement