Popular Posts

SQLblog.com - The SQL Server blog spot on the web

Sunday, October 29, 2017

parsing variable into @query using sp_send_dbmail

SQLServerCentral » Latest topics
parsing variable into @query using sp_send_dbmail
Hi, I have a stored procedure that users sp_send_dbmail and i'm trying to pass through a variable to @query using sp_send_dbmail. But I get the error message:- Msg 22050, Level 16, State 1, Line 0 Error formatting query, probably invalid parameters Msg

No comments: