mohan.mariyappa
SSC Eights!
Points: 856
More actions
September 12, 2011 at 7:39 pm
#257161
Hi all,
Can anyone please let me know how to include SQL query results into email body. I have got very simple SQL statement just like Select Col1, Col2 From TableName. The resultset needs to be emailed using Script Task
Thanks in advance
Mohan
crazy4sql
SSCoach
Points: 19590
September 12, 2011 at 11:29 pm
#1380407
use print command for your sql query which will print the query with result.
---------- Ashish
September 12, 2011 at 11:34 pm
#1380409
Thanks all. I have worked out the solution.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply