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...

diff between DELETE and TRUNCATE?.

Answer Posted / sahaja mallarapu

Delete is a DML command.
Truncate is a DDL command.

Using delete we can delete specific rows by applying some
condition.
using truncate all rows are deleted. we cant apply any
condition here.

deleted rows can be rollbacked.
truncated rows cant be rollbacked.

memory occupied by deleted rows cant be reused.
memory occupied by truncated rows can be reused.

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 relation of a user account and a schema?

1125


What is the difference between the Oracle ODBC driver and a Microsoft ODBC (Open Database Connectivity) Driver?

1099


What is an oracle database?

1031


For a field in a repeating frame, can the source come from the column which does not exist in the data group which forms the base for the frame ?

2014


what is reindexing?

1665


Illustrate how to determine the amount of physical CPUs a Unix Box possesses (LINUX and/or Solaris).

2319


how to convert .db (extention) database file into .dmp (extention ) for oracle database ?

2548


Is it possible to set second Primary Key Constraint in a table in Oracle Database ?

1135


what is the need of indexing topic in oracle? where do we use in a Java project? any other option other than using this to get the same result where we use indexing ?

2461


State some uses of redo log files?

994


How to define a procedure inside another procedure?

1009


What is the difference between postgresql and oracle?

1037


What are the restrictions in a oracle read only transaction?

1026


How to drop an index?

950


How can we force the database to use the user specified rollback segment?

1138