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 difference between 1.append to media 2.overright the existing media when we take back up in sql server2000
What are the advantages of database management system?
How do I keep my database up to date?
What do you understand by index hunting?
State some commands of ddl in dbms?
Enlist some commands of dml?
What is the best free database software?
What are the main differences between primary key and unique key?
What is snow flake schema design in database? What's the difference between star and snow flake schema?
Which database is best for large data?
What is concept of dbms?
How do queries work in a database?
i have table as source table and flat file as target i need yo perform some logic in loading the data. is it posible? and one more thing the no of fields in source is 200+ and for target is 30+ how i can map them.........
How to reorder the table columns (fields)?
Explain the difference between physical and logical data independence?