您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

mysql中获取下一个自增长的id值_MySQL

2024/5/5 23:12:15发布29次查看
bitscn.com
mysql中获取下一个自增长的id值
简单的一句话搞定:
其中的 table_schema='wanku' 代表数据库名称 table_name='wankudata' 代表数据表的名称select auto_increment from information_schema.`tables` where table_schema='wanku' and table_name='wankudata';
bitscn.com
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product