I have a question. The Script Task is working fine, except for one thing. It sends the email is all cases if there is data or none. When there is no data returned from the SQL Query, it sends the email with the Table Header only. How can I control sending the email, by telling the script to send the email only in one case, if there is data returned from the SQL Query. Can you help me with that.