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...

What is the difference between DELETE and TRUNCATE?

Answer Posted / debi

1.when we use delete command then the records from the
table is not deleted permanently so that when we further
use rollback command the records are again available in the
table but in case of truncate the data is permenently
deleted from the table.
2.in case of truncate data deletion is faster as compared
to delete
3.
we can't use ant where condition in case if truncate

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I speed up sql query?

958


What is nosql db?

964


How to look at the current sql*plus system settings?

1147


What is a system versioned table?

979


Is sql better than excel?

1149


How do I view stored procedures?

972


How many types of cursors are available in pl/sql?

1105


Is sql easier than java?

1004


how many triggers are allowed in mysql table? : Sql dba

1062


What is package in pl sql?

1014


Does oracle roll back the transaction on an error?

1012


How many tables can a sql database have?

972


Can unique keys be null?

905


Why functions are used in sql?

988


How do you remove duplicates without using distinct in sql?

974