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

which tcp/ip port does sql server run on? : Sql dba

506


Explain ttitle and btitle.

666


what is top in tsql? : Transact sql

533


what is the difference between group by and order by in sql? : Sql dba

592


How do I create an index in word?

534






What is record type in pl sql?

533


How do you update a table in sql?

512


What is a boolean in sql?

516


Can we insert data in view?

494


explain the options of myisamchk to improve the performance of a table. : Sql dba

537


What's the difference between inner join and left join?

507


What can sql server reporting services do?

574


How to process query result in pl/sql?

549


What type of database is sql?

609


What is trigger and stored procedure in sql?

547