locked
Email RRS feed

  • Question

  • User-797751191 posted

    Hi

      I have below code and i want if value in @email is not null then only email should be sent

    SELECT @EMail=[Email] FROM [user] where UserName = @Id
    EXEC msdb.dbo.sp_send_dbmail @recipients=@EMail,

    Thanks

    Monday, July 22, 2019 4:35 AM

Answers

All replies