SQL query result emailling

  • 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

  • use print command for your sql query which will print the query with result.

    ----------
    Ashish

  • 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