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 and DELETE statement

Answer Posted / archana motagi

Both the operations can be rolled back.The difference is,
DELETE TABLE is a logged operation, so the deletion of each
row gets
logged in the transaction log, which makes it slow.
TRUNCATE TABLE
also deletes all the rows in a table, but it won't log the
deletion of
each row, instead it logs the deallocation of the data
pages of the
table, which makes it faster.

Is This Answer Correct ?    17 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is named query? : sql server analysis services, ssas

958


What is the library index called?

1053


What is mssql?

980


What is the command dbcc checkdb used for?

1006


What do you mean by table and field in sql?

1001


How is sql server used?

952


What are the difficulties faced in cube development? : sql server analysis services, ssas

1036


What are the different Authentication modes in SQL Server and how can you change authentication mode?

1079


What is a sql join?

1012


What is the data tier application?

169


Why main is user defined function?

1010


What are different type of Collation Sensitivity?

997


How to find related tables in sql server?

932


What is policy management?

990


What is an identity?

1006