sql server - Send Data Via Email in T-SQL -


i writing stored procedure collects changes happend in table given date , send recordset administrator via email sql batch job.

now untill now, couldn't figure out how send recordset in email body. possible construct email body based on recordset obtained tsql logic.

any appriciated

thanks

theitguy

look sp_send_dbmail procedure, allows execute query , send results in e-mail body or file attachment.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -