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

What is the purpose of optimization?

540


What is normalization process?

597


on line cluster can we make if yes tell me the procedure

1512


What is advantage data architect?

507


Delete duplicate rows without using rowid.

1067






Why do we need normalization?

488


What is sql injection? How to protect against sql injection attack?

553


Is sql server is free?

538


What is cross join in sql server joins?

591


How to change the system date and time from SQL Plus Terminal ?

679


How to create a simple user defined function in ms sql server?

543


What is sql server schema compare? How we can compare two database schemas?

558


What is the ‘fillfactor’?

565


What is acid db?

510


How do I create a stored procedure in sql server?

517