Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

difference between truncate and delete ,drop?

Answer Posted / surendra

truncate

it deletes only the records from the table
it doesn't delete the structure of the table
we cannot rollback it
we cannot delete a particular record from the table
it is ddl

drop

it deletes the records as well as structure of the table too
we cannot rollback the records
we can flashback the table from the version 9x
it is ddl

delete

it deletes the only records which are we mention in the where clause or whole records
it is dml
we can rollback it

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between hot backup vs. Cold backup?

983


What are the different types of partitions in oracle?

967


What are the restrictions in a oracle read only transaction?

1026


Can we connect to ORACLE db using Windows Authentication?

1239


How to view the data files in the current database?

1094


How to open and close an explicit cursor in oracle?

1040


Can you create a synonym without having a table?

1036


Iam learning oracle developer 2000.. can anyone give me then tutorials sites or PDF related to developer 2000 please send me the details @ mak2786@gmail.com thanks Arun

2177


How to use subqueries in the from clause in oracle?

1103


What happens to the current transaction if the session is killed?

982


What happens internally when the user types userID/password@string in SQL PLUS Thanks-Bhaskar

4563


How to create an oracle testing table?

1059


How to run queries on external tables?

1036


How to set up autotrace for a user account?

1051


Explain the use of log option in exp command.

1110