What's the difference between DELETE TABLE and TRUNCATE
TABLE commands?

Answer Posted / sreedhar

Truncate is DDL command, Delete is a DML command.
Delete operation can be rolled back and in truncate we
can't.
Where caluse can be used in Delete and not in Truncate.
Truncate table less time than delete in execution

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between index seek vs. Index scan?

771


How to find the service pack installed? : sql server database administration

772


What is tabulation?

704


What sql server means?

740


What are the different types of normalization?

809






What is create command?

700


What is a unique key constraint?

724


Can a cursor be updated? If yes, how you can protect which columns are updated?

725


Can we do dml on views?

727


Explain transaction isolation levels in sql server?

743


Define master database?

736


What is the difference between stored procedure and functions?

775


How to run sql server 2005 books online on your local system?

713


What are different types of views?

698


How to create and drop temp table in sql server?

770