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

What is an external table?

586


How to get the Installed Oracle Version Information ?

620


What is a dynamic performance view in oracle?

604


What is a proxy object?

579


What is a partition in oracle?

545






What is different types of joins?

570


Can we store images in oracle database?

545


Will you be able to store pictures in the database?explain.

536


What is the difference between the Oracle ODBC driver and a Microsoft ODBC (Open Database Connectivity) Driver?

608


what are steps for interface? where is exchange rate defined in which table?

1493


When do I need to use a semicolon vs a slash in oracle sql?

590


definition of cluster and non-clustered index?

2475


I have a database backup file in .db (ext) form how to conver it into .dmp (ext.) for oracle database

1628


Can we save images in a database and if yes, how?

590


How do I recompile a procedure in oracle?

527