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 / manoj.oracle

Delete command is a dml command
truncate command is a ddl command

Delete command has a where clause.
truncate hasn't where clause.

Delete doesn't release memory space(means we can rollback
the deleted rows)
truncate releases memory space(means we can't rollback)

By using synonym we can delete a rows(Delete command).
By using synonym we can't delete a rows(Truncate command).



Is This Answer Correct ?    29 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the scenario where you take the database to NoArchivelog mode?

2321


Why use resource manager in Oracle?

1102


In not less than 100 words what's the main difference between Rolap and Molap in ORACLE ?

2281


How to connect ms access to oracle servers?

996


Why oracle is used?

1045


What do you mean by merge in oracle and how can we merge two tables?

1047


How to execute the package in oracle?

1075


How do you bind variables in oracle?

975


Why packages are used in oracle?

1064


What will be the syntax to find current date and time in format "yyyy-mm-dd"?

1007


How to recover a dropped table in oracle?

1033


How to rename an existing table?

1120


How to define an external table with a text file?

1059


Please explain drop constraint oracle?

1088


What is index in Oracle?

1065