↧
Passing a parameter as a value to another parameter
try thisdeclare @mailbody varchar(200) set @mailbody='job failure on '+@@SERVERNAME EXEC msdb.dbo.sp_send_dbmail @profile_name = 'Adventure Works Administrator', @recipients =...
View ArticlePassing a parameter as a value to another parameter
Hello Team,I would like to get the server name as a value to the another parameter @body in the below piece of code, and i am unable to get the required results and showing error as incorrect syntax,...
View Article