⟩ Define Truncate and Delete commands?
Truncate:
► Truncate command is used to remove all rows of the column.
► The removed records are not recorded in the transaction log.
► It is the fast way to remove all the records from the table.
► The records once removed can’t be rolled back.
► It can’t activate trigger.
► It resets the identity of the column.
Delete:
Delete command removes records one at a time and logs into the transaction log.
It can be used with or without where clause.
The records can be rolled back.
It activates trigger.
It doesn’t reset the identity of the column.