MySQL——修改一个表的自增值
语句
alter table <table name> auto_increment=<value>;
SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。
示例
mysql> alter table tb_user auto_increment=100000; Query OK, 0 rows affected (0.01 sec) Records: 0 Duplicates: 0 Warnings: 2

更多精彩