1, Mysql so that the primary key return 0:
TRUNCATE table1;
2, only clearing the data table, the primary key is not owned 0:
the DELETE the FROM table1;
reference:
https://www.csdn.net/gather_2d/MtTaMgxsMjcxMy1ibG9n.html
1, Mysql so that the primary key return 0:
TRUNCATE table1;
2, only clearing the data table, the primary key is not owned 0:
the DELETE the FROM table1;
reference:
https://www.csdn.net/gather_2d/MtTaMgxsMjcxMy1ibG9n.html