查看数据库中每张表自增种子值、增量值
程序员文章站
2022-06-15 19:15:20
...
查看数据库中每张表自增种子值、增量值 无 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
推荐阅读