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 / satya

1.Both Truncate and Delete are rollbacked in TSQL.
2.Truncate maintains single record in Transaction log
entire records where Delete writes one-to-one record which
is slow in performance.
3.Truncate reinitializes the IDENTITY count to zero.
4.Truncate gives error with Table Variables.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create a scrollable cursor with the scroll option?

999


do you know how to configure db2 side of the application? : Sql server database administration

1041


Explain encryption of entire databases without the need for application changes in sql server 2008?

1046


Explain collation?

1068


Can you roll back the ddl statement in a trigger?

973


What is xdr?

989


What is efficiency data?

952


List the various tools available for performance tuning?

887


How do indexes help, types?

965


Explain transaction isolation levels in sql server?

1118


What is lookup override?

1040


What is tablix?

162


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

1038


How do you Implement SSIS Packages in your Project?

1931


Can I work with several databases simultaneously? : sql server management studio

989