您的位置:首页 > 博客中心 > 数据库 >

SQL Server 查看identity值的几种方法。

时间:2022-03-14 00:54

方法 1、

         ident_incr(‘Table_name‘);#  增量    identity(A,B) 中的B值

         ident_seed(‘Table_name‘); # 种子    identity(A,B) 中的A值

方法 2、

         ident_current(‘Table_name‘);

热门排行

今日推荐

热门手游