Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Sending query result from a table via email in SSIS in a table format

$
0
0

How to send query results extracted from an execute sql task and then send it via email by script task using HTML formatting?.
I was able to send the query results using execute sql task then a for each loop container inside which i had a script task where the results were (stored in variables) appended to a string.
Then i sent the string using send mail task.
By this method i was able to seperate the data with help of TAB's in String.Format.

But i have to get that in a table format.

Is it possible to create a mail message in script task and use html tags to display results in a table with the help of variables in the package?

Well i am new to vb.net and SSIS so might require a detailed solution.

Thank You!


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>