what is the difference between delete and truncate?
Answer Posted / kadambari
Difference between Delete and Truncate :-
1. Truncate is a DDL statement hence it implicitly commits;
Delete is a DML statement hence we have to manually perform
commit.
2. Truncate doesn't fire the delete trigger hence it is
faster than Delete operation.
3. Once Truncated, data cannot be roll-backed; Delete
operation can be roll-backed.
4. Truncate resets the High water mark and frees up all the
extents; Delete doesn't reset the High water mark.
Thanks
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
What is the benefit of database?
what are the differences between an exclusive lock and a shared lock?
What is Data Redundancy and Consistency ?
Explain meant by 3-tier architecture?
What are database functions?
What is openedge workgroup rdbms?
What are cursors and what are the situations you will use them?
What is difference between database and website?
What are the three main types of models?
dear sir please provide what question will be asked in CWE in bank it officer
How to improve query performance using index hunting?
Segregate database technology's development.
What is view dbms?
How do you create a simple database?
What are the various normalizations in database?