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

1.truncate is DDL cmd.where as delete is a DML cmd.
2.truncate is similar to delete command without no
condition.
3.when u use truncate it restructure the table,wthout
bothering of data it deletes entire records.
but,delete is a logged transaction.before delete
records it copies to transaction log.then removes.
4.truncate take less time than delete in execution.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between grant and with grant while giving permissions to the user?

898


How to access the deleted record of an event?

975


Which language rdl files made of?

124


what is sql server? : Sql server database administration

927


System variable and temporary variables

2183


What are relationships and mention different types of relationships in the dbms

911


Write a SQL query to make a column as unique?

960


Explain different types of locks in sql server.

1010


What is the importance of three tier architecture?

1026


What are the different types of collation sensitivity in sql server?

1034


What is change tracking in sql server?

942


What is data block and how to define data block size?

977


What is field with example?

868


How to define and use table alias names in ms sql server?

1042


What is collation sensitivity?

985