Differentiate between TRUNCATE and DELETE?

Answer Posted / vikas

delete is slow because it creates log file while performing delete operations.We can recover data which is removed by using delete command by using rollback.

Truncate is fast because it does not create any log file while performing delete operation.We can not recover data which is removed by using truncate command.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to convert numbers to characters in oracle?

582


How to connect to oracle using service name instead of sid?

547


Explain joins in oracle?

557


What are the benefits of ordbms?

616


Please send me Informatica 8.1 certification dumps, my mail id mona85gupta@gmail.com

1434






How can I combine multiple rows into a comma-delimited list in oracle?

575


What is transport network substrate (tns) in oracle?

585


How to use "for" statements in oracle?

588


How to add a new column to an existing table in oracle?

581


What happens to indexes if you drop a table?

693


How to display employee records who gets more salary than the average salary in the department?

590


What to do if the binary spfile is wrong for the default instance?

559


How do I connect to oracle database?

531


What are the components of logical database structure in oracle database?

572


what is IDE,DMV in sql server?

2236