1、Mysql 让主键归0:
TRUNCATE table1;
2、只清空数据表,主键不归0:
DELETE FROM table1;
参考:
https://www.csdn.net/gather_2d/MtTaMgxsMjcxMy1ibG9n.html
1、Mysql 让主键归0:
TRUNCATE table1;
2、只清空数据表,主键不归0:
DELETE FROM table1;
参考:
https://www.csdn.net/gather_2d/MtTaMgxsMjcxMy1ibG9n.html