I'm trying to get right the trivial use case of copying a table from one database to another. In the Data Flow view I've got an OLE DB Source -> OLE DB Destination. I want the destination table to be a mirror of the origin table.
The only problem is that every time I run it the flow appends instead of replacing the previous rows so my destination table size is 1x, 2x, 3x, 4x, etc.
New to SSIS, I don't understand why there isn't an option on the OLE DB Destination properties akin to "[x] Delete current rows before copy?," or even "replace instead of append," but, alas I don't see any feature like that.
What is the best way to remove the destination rows before the transfer?
Best thing I can figure out is to insert an Execute SQL Task to "truncate table MyDestination" ahead of the Data Flow Task that does the transfer. Is that what everyone else does or did I miss something easy?