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

Tell me the difference between clustered and non-clustered index?

922


Where sql server usernames and passwords are stored in a sql server?

970


i have made a project i vb.net n created a .exe of it after installing it in to any pc, the database (sql express) is not geting accesed i.e the aplication cuts the link of the database, so plz help in this matter.

1880


What stored by the model?

1033


Detail about query optimizer?

1079


What stored procedure can you use to display the current processes?

874


Can you tell me some of the common replication dmv's and their use? : sql server replication

902


What is a mixed extent?

997


What is a non equi join?

954


How to get a list of columns in a view using the "sp_help" stored procedure?

1022


how do you test proper tcp/ip configuration windows machine? : Sql server database administration

1036


What is the command to change the recovery model?

1032


How can sql injection be stopped? : sql server security

1014


Characterize join and name diverse sorts of joins?

949


What are the properties of the transaction?

992