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 a database is related to tablespaces?

580


what is normalisation?what are its uses?

1763


What is an external table?

588


How to define a variable of a specific record type?

614


Explain the use of inctype option in exp command.

596






What are the set operators union, union all, minus & intersect meant to do?

564


How can we find out the duplicate values in an oracle table?

609


Hi friends can u send the oracle 9i full version download link?????????????? please reply ?

1442


Explain integrity constraint?

646


Explain the difference between a procedure and a function?

561


Explain the difference between sql and oracle?

582


How to write an inner join with the where clause in oracle?

584


How to retrieve values from data fields in record variables?

572


how to clone 9i Database on to 10g Database.

1828


Explain cascading triggers.

574