how to truncate mysql table code example
Example 1: truncate table mysql
TRUNCATE TABLE `fourniture`
Example 2: how to force truncate a table in mysql
DELETE FROM mytest.instance;
ALTER TABLE mytest.instance AUTO_INCREMENT = 1;
TRUNCATE TABLE `fourniture`
DELETE FROM mytest.instance;
ALTER TABLE mytest.instance AUTO_INCREMENT = 1;