diff between DELETE and TRUNCATE?.

Answer Posted / thirupathi.l

delete is a dml command using this we can getback the records.
it will not call inmplicit commit.
perfomance slow in case of delete no.of records.
truncate is a ddl commnd.itwillcall implicit commit
we can't get back the record
performance good in case of deleting no.of records

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you store pictures in a database?

735


What language does oracle use?

817


Explain what are the different type of segments?

732


How to start instance with a minimal initialization parameter file?

765


State the difference along with examples between Oracle 9i, Oracle 10g and Oracle 11i.

786


what are bitmap indexes? How does they work?

1938


What is oracle join syntax?

725


How can we delete duplicate rows in a table?

722


How to run create database statement again?

790


what is IDE,DMV in sql server?

2469


Why do we need oracle client?

674


What is the purpose of save points in oracle database?

716


What is memory advisor in Oracle?

807


What is the difference between substr and instr?

697


What is the Tune Query

2047