Can you tell me the difference between DELETE & TRUNCATE
commands?

Answer Posted / kmbkrishnan

Delete Command require Log file updation for each row of
deleting process. But the Truncate command not.
So, the Truncate Command is so faster than Delete Command.

Is This Answer Correct ?    28 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give the query of getting last two records from the table in SQL SERVER?

714


What is oltp (online transaction processing)?

745


What is master database? : SQL Server Architecture

709


What is set nocount on?

682


Characterize join and name diverse sorts of joins?

680






What are the new data types are introduced in sql 2000?

669


Which table keeps the locking information?

695


What does this statement do @@rowcount?

735


What is the beast way to write CTE in SQL Server ?

761


your sql server is running out of disk space. You notice that there are several large files with ldf extensions what are these files? : Sql server administration

740


What is an index in a database?

706


last function used in MS Access to convert sql what function will use in sql

1821


How to disable a login name in ms sql server?

750


Due to some maintenance being done, the sql server on a failover cluster needs to be brought down. How do you bring the sql server down?

1071


What is sql server database?

672