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

Answer Posted / srisenthil

delete table gives the transactional log where as in
truncate it is not delete the total rows inthe table but
structure of the table has never changed after the
statement is executed it is roll back and the constraints
after the delete statement is remain same where as it is
not in the truncate statement

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define indexes?

795


How to drop existing indexes in ms sql server?

754


How we can compare two database data?

685


What is use of attributehierarchyenabled? : sql server analysis services, ssas

796


What is DCL?

762






How to list all user names in a database?

773


What is the chart in report?

125


What is data mart? : sql server analysis services, ssas

803


Explain the benefits of user-defined functions?

730


What are click through reports?

118


Do you know concepts and capabilities of sql server?

739


What happens if null values are involved in boolean operations?

736


What are the 3 types of schema?

780


Do you know exporting and importing utility?

696


Define Business Edition in SQL Azure?

98