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 Database Management System?
How is a database related to a table?
What are the disadvantages of file processing systems?
What is advantage of dbms?
What are the steps to follow when preparing to create a table?
What are the types of rdbms?
Explain the syntax of named procedure?
Does google have a database like access?
What is database management system(dbms)?
What do you understand by data redundancy?
Explain the classification of Database Management System?
Why do not you use gnu autoconf or scons for building?
Explain the importance of partitioning.
What versions of clipper does netlib support?
Which is the most used database?