Saturday, 1 October 2016

What is different between TRUNCATE and DELETE?


The Delete command will log the data changes in the log file where as the truncate will simply remove the data without it. Hence Data removed by Delete command can be rolled back but not the data removed by TRUNCATE. Truncate is a DDL statement whereas DELETE is a DML statement.

No comments:

Post a Comment