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

What is the difference between writing data to mirrored drives versus raid5 drives

578


What is change data capture (cdc) in sql server 2008?

662


What is difference statement and preparedstatement?

635


How do I create a partition table in sql server?

593


Do you know data definition language, data control language and data manipulation language?

704






How to how to convert numeric expression data types using the convert() function??

627


How do you size a resultset?

589


Can a database be shrunk to 0 bytes, if not, why?

719


What is the difference between Stored Procedures and triggers?

677


What are cursors stored procedures and triggers?

595


Do you know spatial data types - geometry and geography in sql server 2008?

679


What command is used to create a database in the sql server and how?

707


Why use “in” clause in sql server?

638


What does nvl stand for?

630


Explain what is log shipping?

692