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?

有帮助吗?

解决方案

YOu can run a truncate statement to clear all records from the table.

TRUNCATE TABLE YourTableName

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top