TRUNCATE In SQL
TRUNCATE in SQL means deleting records of a table but preserving its structure like rows, columns, keys, etc. It is considered to be a DDL command instead of a DML command.
SQL TRUNCATE TABLE is used for emptying a table while preserving table structure so that it can be re-populated.
Note: The TRUNCATE command can not be used to Truncate a Column or Database in SQL.
SQL TRUNCATE TABLE
SQL TRUNCATE TABLE command deletes all the records in a table while preserving the table structure.