Truncate Table Usage in SQL

Itacen Sabacok | Sep 22, 2022

TRUNCATE TABLE statement is used to delete the data inside a table, but not the table itself.

1-- syntax
2TRUNCATE TABLE tablename;
3
4-- example
5TRUNCATE TABLE engineer;