SSIS and RS Improvements in SQL Server 2008 - Kuldeep Chauhan and Nirmal Kohli
Sending SQL Result by Email Using SSIS
4
Sending SQL result by email using SSIS Add Execute SQL task, Foreach loop container, add Script task inside foreach loop, and Send mail task outside Forloop. Create OLDEB and SMTP conenction objects. Create 3 SSIS variables as shown. Configuration: Execute SQL task:
description
Sending SQL Result by Email Using SSIS
Transcript of Sending SQL Result by Email Using SSIS
Sending SQL result by email using SSISAdd Execute SQL task, Foreach loop container, add Script task inside foreach loop, and Send mail task outside Forloop. Create OLDEB and SMTP conenction objects. Create 3 SSIS variables as shown.
Configuration:Execute SQL task:
For each container
Script task, add code:
Send mail task: