当前位置:Gxlcms > mysql > 查看数据库中每张表自增种子值、增量值

查看数据库中每张表自增种子值、增量值

时间:2021-07-01 10:21:17 帮助过:29人阅读

查看数据库中每张表自增种子值、增量值 无 SELECT TABLE_NAME,IDENT_SEED(TABLE_NAME) AS IDENTITY_SEED,IDENT_INCR(TABLE_NAME) AS IDENTITY_INCREASE FROM INFORMATION_SCHEMA.TABLES WHERE IDENT_SEED(TABLE_NAME) IS NOT NULL

查看数据库中每张表自增种子值、增量值
<无>
SELECT TABLE_NAME,IDENT_SEED(TABLE_NAME) AS IDENTITY_SEED,IDENT_INCR(TABLE_NAME) AS IDENTITY_INCREASE FROM INFORMATION_SCHEMA.TABLES WHERE IDENT_SEED(TABLE_NAME) IS NOT NULL

人气教程排行