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's the difference between DELETE TABLE and TRUNCATE
TABLE commands?

Answer Posted / sreedhar

Truncate is DDL command, Delete is a DML command.
Delete operation can be rolled back and in truncate we
can't.
Where caluse can be used in Delete and not in Truncate.
Truncate table less time than delete in execution

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is a major difference between sql server 6.5 and 7.0 platform wise? : Sql server database administration

901


What is normalization and what are the advantages of it?

974


When I delete any data from a table, does the sql server reduce the size of that table?

1004


What is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure? How many levels of sp nesting is possible?

956


Explain user defined functions?

978


List the different types of joins?

973


Explain about Views?

1058


What is a database in ms sql server?

1051


How to disable triggers using "disable trigger"?

1047


What is sql azure database?

206


Define primary key?

1126


what's sql server? : Sql server database administration

986


Define views.

1001


Explain the collation?

1100


What happens if the update subquery returns multiple rows in ms sql server?

1117