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 the maximum number of triggers that can be applied to a single table?

563


What is a read write transaction in oracle?

616


What is oracle analytical function?

536


What spfile/init.ora file parameter exists to force the CBO to make the execution path of a given statement use an index, even if the index scan may appear to be calculated as more costly?

1535


How to write date and time interval literals in oracle?

586






What is tns entry?

632


What is the sid in oracle?

540


when we are importing items in inventory, showing errors, Oracle support suggested us for running scripts & also suggested if we run scripts, iprocurement applicaation if is there it will show shared and if we go in future for iprocurement, it wont work. So kinldy suggest any functional solution.

1482


what is meant by magic query

1781


What is the data type of dual table?

535


Explain drop constraint oracle?

599


What is a view and how is it different from a table?

578


How to rename an index in oracle?

626


Can we protect our pl/sql source code?

584


Is it possible to center an object horizontally in a repeating frame that has a variable horizontal size ?

1888