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

Differencr Between DELETE and TRUNCATE?

Answer Posted / rajesh bhawsar

delete command, delete row by row and same time it makes an
entry in transaction log
while truncate remove the referance of respective
page/extent and doesn't make any entry in transaction log
truncate is faster then delete.
in case of truncate seed value (auto increment column) reset
to default unlike delete.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the various Operating system files that every SQL server 2005 database has and what is the purpose.

1048


What are trace flags and mention a few common trace flags used with sql server?

1078


How to call stored procedure using http soap?

1064


I create a separate index on each column of a table. What are the advantages and disadvantages of this approach? : Sql server database administration

1078


Explain different types of BACKUPs avaialabe in SQL Server? Given a particular scenario, how would you go about choosing a backup plan?

1030


How do you drop an index?

914


What is Cross Join and in which scenario do we use Cross Join?

1008


What are the new features in SQL Server 2005 when compared to SQL Server 2000?

1154


How does the report manager work in SSRS?

148


What is the data tier application?

169


How to execute a sql statement using mssql_query()?

1040


What is ssl in sql server?

1067


How to use "begin ... End" statement structures in ms sql server?

1026


How would you go about developing a ssrs report?

166


Can you explain important index characteristics?

985