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

Can you tell me the difference between DELETE & TRUNCATE
commands?

Answer Posted / pankaj kumar upadhyay

1) When we use delete command that time we will use
conditon or without conditon but when we use truncate
command so that time we will not use condition.

2)delete can roll back but truncate is not rollback.

3)Truncate is faster compare delete command.

4)delete is DML command while Truncate is DDL.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is view in sql?

953


What are three ways you can use an identity value inside a trigger? Why would you prefer one way over another?

1044


Do you know sql server 2008 backup compression?

1007


What is the recursive stored procedure in sql server?

1078


How to create nested stored procedure?

1073


How can I check if a view exists in a sql server database?

1082


How self join is different from outer join?

1179


Do you know what are the restrictions applicable while creating views? : SQL Server Architecture

1052


What is resource db in sql server?

1058


explain declarative management framework (dmf) in sql server 2008?

1044


What is a matrix in ssrs?

158


What is the difference between online clustering and Offline clustering?

2477


Explain about Views?

1125


What is not null constraint?

1178


what's the difference between a primary key and a unique key? : Sql server database administration

991