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

What is the best way to send auto mail with excel(generated by query) attachment?

$
0
0

Hello,

Need to generate first data from stored procedure and the save it to an excel file and then send mail with the same excel file.

So am searching for the best way so that i could do all process in a single task with daily or monthly schedule.

As per my understanding, we could it via SSIS and by sql server using sp_send_dbmail.

But i have to generate excel file first by stored procedure and then end it by mail.

So please suggest the best way to accomplish all task in a single task.

Thanks

Ajay 


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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