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

what is dynamic SGA and static SGA

4058


Can multiple cursors being opened at the same time?

808


What are the types of trigger in oracle?

760


Differentiate between pre-select and pre-query?

834


How can I see all tables in oracle?

737


What are the uses of linked server and explain it in detail?

818


Explain the use of show option in imp command.

838


What is a user account in oracle?

855


What privilege is needed for a user to create views in oracle?

799


What are the different types of partitions in oracle?

723


What happens if the imported table already exists?

773


What are the different types of record groups in oracle? Explain each of them

777


How to delete a column in an existing table in oracle?

811


How to turn on or off recycle bin for the session?

825


what are the default admin accounts in Oracle 10g ?

755