YOu can run a truncate statement to clear all records from the table.
TRUNCATE TABLE YourTableName
Domanda
I have a database from which I am pulling rows from, manipulating the data a bit and then putting into another table. Every time I run the package, it doesnt remove any data from the destination and thus grows by X number of rows each time.
Is there any way that I can clear the destination before adding the new rows?
Soluzione
YOu can run a truncate statement to clear all records from the table.
TRUNCATE TABLE YourTableName