What is the difference between truncate and delete command in SQL query

Possible duplicate:
What is the difference between TRUNCATE and DELETE in SQL

what's the difference between truncate and delete command in sql query

+3
source share
1 answer

Deletes each line as deleted (phantom record) and registers a single line that is deleted in the transaction log (in full log mode), or marks the page as changed (logged in bulk). Delete allows the where clause, which allows you to delete lines, filter.

Truncate IAM , ( ) , IAM, . Truncate .

+6

Source: https://habr.com/ru/post/1732030/


All Articles