I have a task wherein I have to get only today's data in excel file, like if i run the package tomorrow it will only shows tomorrow's data.
What I am doing is,
- on control flow task, I am having 2 execute SQL task and 1 Data flow task
On first execute sql task I am selecting the connection type as Excel and statement as
DROP TABLE `Excel Destination`On second execute sql task I am selecting the connection type as Excel and statement as
CREATE TABLE `Excel Destination` ( `Id` Long )on data flow task I am taking source as OLE DB and destination as Excel.
But everytime I run the package it is still appending the excel and not over-riding. Can anyone help me and let me know what is the problem in the above package
