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

can a stored procedure call itself or recursive stored procedure? : Sql dba

1028


What are sql procedures?

1022


How do we accept inputs from user during runtime?

1062


what is the difference between primary key and unique key? : Sql dba

1036


Are there any features that are decommissioned in 11g that are not present in 11g?

2148


Can primary key be changed?

905


What is a system versioned table?

982


What is the difference between pl and sql?

1093


Can we use the cursor's to create the collection in PL/SQL?

1025


How do you truncate?

906


what is 'mysqlcheck'? : Sql dba

1011


What is scope and visibility in PL/SQL?

1204


What happens when a trigger is associated to a view?

913


Is join and inner join the same?

1002


Why self join is used in sql?

976