What is the difference between DELETE and TRUNCATE?

Answer Posted / protyusha banerjee dawn

Whenever we delete records then they are stored in data
dictionary and can be retrieved later ie by roll back.
but when we truncate then the memory used by the records
which is to be truncated is released and it cannot be
rolled back.

Is This Answer Correct ?    24 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different schemas objects that can be created using pl/sql?

528


Can you have more than one trigger on a table?

532


Can I create table without primary key?

531


What is the mutating table and constraining table?

559


What is left inner join in sql?

519






how is myisam table stored? : Sql dba

605


Can we join more than 2 tables in sql?

491


What are sql injection vulnerabilities?

500


What are the different parts of a package?

635


What are the advantages of stored procedure?

544


What is orm in sql?

537


How do you write an inner join query?

515


What is count * in sql?

553


what is denormalization. : Sql dba

543


What is the execution plan in sql?

558