Hi,
I want to be able to send an Excel file of data from an SQL server table via email using SQL server. In the data transformation packages I have found the 'Send Mail Task' which works nicely with an existing Excel sheet.
I have set up a connection to the Excel file and executed a transformation to populate it with the data I want to send via email.
The only problem I have is that each execution of the package appends data to the Excel sheet. How can I overwrite the Excel data in my transformation package?
From the options available it looks as if I will need to delete the data from the Excel sheet. Is there a way to do this?
Thanks.
I want to be able to send an Excel file of data from an SQL server table via email using SQL server. In the data transformation packages I have found the 'Send Mail Task' which works nicely with an existing Excel sheet.
I have set up a connection to the Excel file and executed a transformation to populate it with the data I want to send via email.
The only problem I have is that each execution of the package appends data to the Excel sheet. How can I overwrite the Excel data in my transformation package?
From the options available it looks as if I will need to delete the data from the Excel sheet. Is there a way to do this?
Thanks.