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 / p.rajasekar

Delete:
1.It is DML staement.
2.We can rollback the Data
3.We can apply Where condition.
4.Database triggers will fire on DELETE.
5.High water mark Model is not applied
Truncate:
1.It is a DDL statement
2.We cannot rollback
3.We can not apply Where condition
4.Database trigger will not fire
5.High water mark Model is applied

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the limitations of identity column? : Transact sql

1086


how can we take a backup of a mysql table and how can we restore it. ? : Sql dba

955


What is view explain with example?

918


what is recursive stored procedure? : Sql dba

969


Explain aggregate functions are available there in sql?

977


What is ttitle and btitle?

1045


How is data stored on a disk?

1004


What type of database is sql?

1015


Should I use mbr or gpt?

1009


Can we use commit inside a trigger?

1067


what are integrity rules?

1006


How do I install sql?

972


What is keys and its types?

1058


What is primary key and foreign key with example?

916


How to write pl sql program in mysql command prompt?

1066