mysql函数语句 “show table status”,可以获取当前数据库里的所有表的属性等信息其中mysql获取指定表当前自增id值(Auto_increment)方法有两种,
1、show table status like ‘TableName’
2、show table status where Name =’TableName’
mysql查询表的当前ID 自动增加id后
原文:http://www.cnblogs.com/rspb/p/4147952.html