empty table sql code example
Example 1: truncate table mysql
TRUNCATE TABLE `fourniture`
Example 2: query to empty table data in sql server
TRUNCATE TABLE table_name;
Example 3: empty an sql table
TRUNCATE TABLE table_name;
Example 4: sql empty table
-- Quick, no possible rollback
TRUNCATE TABLE my_table;
-- With possible rollback
DELETE FROM my_table;
COMMIT; -- or ROLLBACK;
Example 5: truncate table
TRUNCATE TABLE table;