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 PL/SQL ?

1894


Can multiple columns be used in group by in oracle?

924


Explain about integrity constraint?

1076


What is memory advisor in Oracle?

1020


What are the parameters that we can pass through a stored procedure?

996


Can we protect our pl/sql source code?

991


what is difference between sql plus and sql*plus? (not sql and sql plus).

3810


How to calculate date and time differences in oracle?

986


How to recover a dropped table in oracle?

983


What is an oracle cursor variable?

999


Oracle

2318


Explain an extent?

1046


master table and child table performances and comparisons in Oracle ?

2065


What are the original export and import utilities?

1050


What is the data pump import utility?

966