difference between truncate and delete ,drop?

Answer Posted / sachin

the main difference between delete and truncate is that in
the truncate u will delete all the values from the table as
well as from the data dictionaries also while delete is used
to delete selected values and in the same way drop is use
to delete whole data from a table but the deleted data will
occupy the memory space in the extents but if we perform
truncate then the extents are free from the deleted data .....

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In XIR2 if we lost the administration password .How can we regain the password?thanks in advance.

1470


What are the varoius components of physical database structure of oracle database?

573


Explain about the analyze command in oracle?

593


What is a snapshot log?

564


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

1831






Why do we need oracle client?

511


Explain the use of analyse option in exp command.

590


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

559


Design database draw er diagram for a certain scenario ?

4105


Differentiate between function and procedure in oracle.

561


What are the original export and import utilities?

573


What is the exact use of Collections?

1684


what happened to the global index when I truncate the data in one of the partition?

1523


How to define default values for formal parameters?

598


How to calculate date and time differences in oracle?

535