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

how many ways we can we find the current date using mysql? : Sql dba

1099


What is sql deadlock?

1132


Can instead of triggers be used to fire once for each statement on a view?

962


Inline the values in PL/SQL, what does it mean.?

1221


What are the benefits of pl sql?

1115


How do I run a query in pl sql developer?

993


What makes a good primary key?

1034


what is a trigger? : Sql dba

1024


Does pl sql work in mysql?

977


Which one is faster ienumerable or iqueryable?

930


What is sql architecture?

1045


What are the various restrictions imposed on view in terms of dml?

963


When you have to use a default "rollback to" savepoint of plvlog?

1187


What are the ddl commands?

1006


How to get unique records from a table?

960