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

Explain how to maintain a fill factor in existing indexes?

525


What the different components of Replication and what is their use?

554


tell me the disaster recovery plan

2021


What is the most common type of join?

524


What is the recovery model? List the types of recovery model available in sql server?

486






How will you add a dimension to cube? : sql server analysis services, ssas

550


explain the storage models of olap? : Sql server database administration

518


How to enter unicode character string literals in ms sql server?

571


How to check parameter value in stored procedure sql server?

462


Why normalization is used?

548


what is a major difference between sql server 6.5 and 7.0 platform wise? : Sql server database administration

497


What is candidate key with example?

512


What is normalization? Explain its different types?

597


What is clr ddl trigger?

549


How to compose an inquiry to demonstrate the points of interest of an understudy from students table whose name begins with k?

667