I use SSIS to generate and transform new data for later use in a new system. I have a problem every time I run my SSIS Package, it keeps inserting new records to my destination tables.
How can I empty my destination table (/OLE DB Destination) first and then inserting the newly generated records?
Currently the workaround for this problem is performing a delete from DestTable
before running my package.
Put your delete statement in an Execute SQL Task
. Then make it the first component of your flow. The component looks something like this: