Quantcast
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


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>