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 the difference between truncate and delete statement?

Answer Posted / vasu

Both Truncate and delete deletes the rows from a table .
But we cant use where clause in truncate statement . While
doing delete operation all the deleted rows are logged in
the transaction log . It reduces the perfomance . In
truncate operation no transaction logging is happening .
Delete is Autocommited but Truncate is Not .

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know what are various aggregate functions that are available?

1210


How many partitions a clustered index has by default in sql server 2012?

1134


What is Federation and Federation Member?

94


What is a schema in ms sql server 2005?

1023


What are the disadvantages of indexes?

1151


How display code or Text of Stored Procedure using Sql query in Sql Server ?

1190


What is failover clustering overview?

1134


Explain optimistic and pessimistic concurrency?

1029


How to create an index on a view?

1136


Disadvantages of the indexes?

1182


Do you know the cursor types?

1201


What is the difference between dropping a database and taking a database offline?

1215


What is dbcc updateusage?

1251


How will you hide an attribute? : sql server analysis services, ssas

1008


What is normalization according to you and explain its different levels?

993