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 / srisenthil

delete table gives the transactional log where as in
truncate it is not delete the total rows inthe table but
structure of the table has never changed after the
statement is executed it is roll back and the constraints
after the delete statement is remain same where as it is
not in the truncate statement

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a Join and explain its types?

1103


What is pivot and unpivot?

1013


How to disconnect from a sql server using mssql_close()?

1109


Explain transaction isolation levels in sql server?

1116


What do you mean by sql server agent?

990


What is trigger and different types of Triggers?

1143


Do you know what is fill factor and pad index?

1004


What are the advantages of partitioning?

1127


Benefits of Stored Procedures?

972


On a windows server 2003 active – passive failover cluster, how do you find the node which is active?

1206


You are doing log shipping due to some reasons it is failing. How you will proceed from there

2069


How to set database to be single_user in ms sql server?

1029


Tell me when is the update_statistics command used?

1112


Is the primary key column of a table an index in ms sql server?

962


Write a query to find 5th highest amount paid from the customer table.

934