摘要: 不带外键模式的 mysql 自增主键字段重排 1、备份表结构 create table table_bak like table_name; 2、备份表数据 insert into table_bak select * from table_name; 3、删除原来主键字段(如id) alter t 阅读全文
posted @ 2019-05-21 16:48 xzy_choose 阅读(620) 评论(0) 推荐(0) 编辑