‹ BACK

The TRUNCATE TABLE Statement

The TRUNCATE TABLE Statement

What if we only want to delete the data inside the table, and not the table itself?
Then, use the TRUNCATE TABLE statement:
TRUNCATE TABLE table_name
Read more: SQL DROP
TRUNCATE-TABLE

To check your knowledge the following tests are recommended:
Check your sql sql skills.