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 a trigger oracle?

1136


How can windows applications connect to oracle servers?

1115


Is oracle the best database?

1010


Can we commit inside a function in oracle?

1012


How do you get nicely formatted results from an oracle procedure that returns a reference cursor?

1119


What is columnar storage what is the advantage?

1119


Explain self joins in oracle?

1061


what is the difference between restoring and recovering?

1053


How can you merge two tables in oracle?

1048


When do I need to use a semicolon vs a slash in oracle sql?

1141


How to create a stored program unit?

1316


What is the difference difference between $ORACLE_HOME and $ORACLE_BASE.

1159


Explain the use of rows option in exp command.

1147


How to store only time; not date and time?

1067


what is the scripts in data base?

2219