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 difference between TRUNCATE & DELETE?

Answer Posted / ram kumar

1.Both are same but a little bit difference between them

2.Truncate removes all the rows in the table and it cannot
be rolledback bcoz its a DDL

3.Delete removes the particular record u want in the table
and it can be rolledback bcoz its a DML

4.Truncate is Unconditional and Delete is Conditional

Regards,
Ram Kumar...

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 find 3rd highest salary of an employee from the employee table in sql?

1079


how many tables will create when we create table, what are they? : Sql dba

1069


What is trigger explain it?

1011


what are the nonstandard string types? : Sql dba

1134


What operating systems are supported by oracle sql developer?

952


What is a pl/sql block?

1220


What is meant by user defined function?

1048


In what condition is it good to disable a trigger?

1008


How is a process of pl/sql compiled?

1154


How to download oracle sql developer?

1096


Are pl sql variables case sensitive?

1045


Is sql injection illegal?

1017


What is record type in pl sql?

984


Do we need commit after truncate?

1072


What is execute immediate?

1080