What is the difference between DELETE and TRUNCATE?

Answer Posted / kalyana chakravarthy

Delete is associated with rollback segments like U can undo
it before committing and U have a choice of deleting a
specific row or rows where as

Truncate is not associated with rollback segments ie U cant
undo it and U cant delete a row/rows of ur choice

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are dml commands?

518


Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me

1550


Can we insert in sql function?

532


What is auto increment in sql?

577


Do we need to rebuild index after truncate?

520






what are set operators in sql? : Sql dba

528


What is clause?

602


What are the topics in pl sql?

511


What is a sql statement?

522


What does trigger mean in psychology?

528


Which is better stored procedure or query?

539


What is database migration?

508


Which data dictionary views have the information on the triggers that are available in the database?

743


Which one is faster ienumerable or iqueryable?

476


Can primary key be changed?

519