In this article, we will learn how to use the TRUNCATE TABLE statement in SQL.
To delete the data inside a table, but not the table itself, the TRUNCATE TABLE statement is used.
TRUNCATE TABLE TABLE_NAME;
The subsequent statement would delete the data from the “Article” table, but not the table itself:
TRUNCATE TABLE Article;
Also, check How To Delete/Drop Table Using Query In SQL