EXEC msdb.dbo.sp_send_dbmail
@recipients= @Recipients,
@body= @temp,
@subject = 'Test',
@profile_name = 'DBMailProfile'
See this Example
Subscribe to:
Post Comments (Atom)
Code samples, examples, tutorials, howto's regarding Windows, .Net development and T-SQL
No comments:
Post a Comment