Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Delete vs truncate

790157Sep 9 2010 — edited Sep 10 2010
Hi,
We are using Oracle and we have a daily job of loading data to a table.
The existing data needs to be cleaned and fresh insert need to be done. Should I use Delete or truncate to clean the data.
If any error occurs i need to have old data ie previous load in my table.
so which option should i use? Delete or truncate


Thanks
Harshini
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 8 2010
Added on Sep 9 2010
8 comments
2,856 views