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 / shree

Delete command always used with where clause.
but Truncate is not.

Delete command deletes only selected rows/records from table
which are defined in where clause.
But Truncate command deletes all records from the Table
without using where clause.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to define an oracle sub procedure?

1134


How to rename an index?

1063


Explain about the analyze command in oracle?

1043


How to add a new column to an existing table with a default value?

1012


Other than making use of the statspack utility, what would you check when you are monitoring or running a health check on an Oracle 8i or 9i database?

1984


What is Virtual Private Database in Oracle?

1079


What are the various types of snapshots ?

1023


How to select all columns of all rows from a table in oracle?

1051


Write a trigger example in oracle?

1046


What happens to the indexes if a table is recovered?

989


What is the effect of setting the value "all_rows" for optimizer_goal parameter of the alter session command? What are the factors that affect optimizer in choosing an optimization approach?

1037


What is the difference between post-database commit and post-form commit?

1182


What are the different types of failures that occur in Oracle database?

1063


How to create tables for odbc connection testing?

1103


What are the differences between char and nchar in oracle?

1082