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

how the Oracle Prepares the Execution Plan and how it chooses the Optimal one?

2344


What is recycle bin in Oracle?

1151


What is a package in oracle?

1102


how to make an oracle object

2359


When do we use group by clause in a sql query?

1036


Why is oracle so popular?

998


How to get maxsal , minsal, ename department wise in single query

1549


Give the constructs of a package, function or a procedure.

1045


What is oracle datasource?

987


Why do you use stored procedures and state some of its disadvantages?

1028


What is the parameter mode that can be passed to a procedure?

1048


What are the limitations of check constraint?

1033


How to update a table row with a record?

1010


hey friends, What are the steps I can do to transfer the database from Microsoft Access 2003 to oracle10g (or SQL) Best regards

1999


What is open database communication (odbc) in oracle?

1003