Quantcast
Channel: Passing a parameter as a value to another parameter
Browsing all 2 articles
Browse latest View live

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 Article



Image may be NSFW.
Clik here to view.

Passing 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
Browsing all 2 articles
Browse latest View live




Latest Images