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 happens if you add a new index to large table?

942


What is user-defined multi-statement table-valued function?

1064


How to add more data to the testing table in ms sql server?

1090


Can you please explain the difference between primary keys and foreign keys?

1110


List some case manipulation functions in sql?

1031


How to replace the Query Result 'Null Value' with a text ?

1043


What is function of CUBE ?

1046


How to resolve the orphan use problem? : sql server security

1015


What is difference between view and materialized view?

937


How to delete database objects with "drop" statements in ms sql server?

1089


How can sql server instances be hidden? : sql server security

1150


List the different types of collation sensitivities in sql server?

1044


what is nonclustered index

961


What are the different ways you can create databases in sql server?

1106


Explain the etl (extraction, transformation, and loading)?

995