Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

how to force truncate a table in mysql

DELETE FROM mytest.instance;
ALTER TABLE mytest.instance AUTO_INCREMENT = 1;
Source by www.mysqltutorial.org #
 
PREVIOUS NEXT
Tagged: #force #truncate #table #mysql
ADD COMMENT
Topic
Name
5+2 =