查询表名为tableName的auto_increment值:
SELECT AUTO_INCREMENT FROM information_schema.tables WHERE table_name="tableName";
修改表名为tableName的auto_increment值:
ALTER TABLE tableName auto_increment=number ;
查询表名为tableName的auto_increment值:
SELECT AUTO_INCREMENT FROM information_schema.tables WHERE table_name="tableName";
修改表名为tableName的auto_increment值:
ALTER TABLE tableName auto_increment=number ;