mysql查询表的当前ID 自动增加id后

时间:2014-12-06 11:13:35   收藏:0   阅读:299

mysql函数语句 “show table status”,可以获取当前数据库里的所有表的属性等信息其中mysql获取指定表当前自增id值(Auto_increment)方法有两种,

1、show table status like ‘TableName’

2、show table status where Name =’TableName’

原文:http://www.cnblogs.com/rspb/p/4147952.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!