In this tutorial you will learn about the MySQL Truncate and its application with practical example.
What if we only want to empty the data inside the table, and not to delete the table definition in this case we use TRUNCATE TABLE statement:
Table Of Contents−
Syntax:
1 |
TRUNCATE TABLE table_name |