1. 程式人生 > >查看和修改表的auto_increment

查看和修改表的auto_increment

ble AS 保存 IV rom class incr select 查看

表的基本信息都保存在information_schema數據庫的tables表中

select auto_increment from information_schema.tables where table_schema=db name and table_name=table name;

alter table table_name auto_increment=new value

查看和修改表的auto_increment