Differentiate between TRUNCATE and DELETE?

Answer Posted / vikas

When we use truncate data deletes permanently and can not recover.Truncate is fast because it not writes any thing in log file while perform deleting operations.

Delete is used to removed table data and it can be recover by using rollback . Delete is slow because it create log file before performing the delete operation.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between "as" and "is" in an oracle stored procedure?

533


How to pass parameters to procedures in oracle?

566


How oracle handles dead locks?

596


How to use like conditions in oracle?

566


What is oracle database 10g express edition?

591






In what script is snap$ created? In what script is the scott/tiger schema created?

2239


What is a dead lock in oracle?

587


Explain the use of record option in exp command.

531


What the is the diff between local index and global index. give some example.

1130


15. Display the item_cost and then truncate it to the nearest hundred, ten, unit, tenth and hundredth.

1699


Is truncate autocommit in oracle?

630


What do you understand by database schema and what does it hold?

588


Can we write dml statement in function in oracle?

629


What is merge in oracle?

554


What are the parameters that we can pass through a stored procedure?

550