1、问题:SqlServer2012自增主键插入几条数据,然后重启服务,然后再插入几条数据,发现重启后插入的记录ID出现跳跃。

SqlServer2012自增主键跳跃增长的问题解决方案

2、解决方案:

Open SQLServer configuration manager from your server. Select SQL Server 2012 instance there right client and select Properties menu. You will find a tabbed dialog window. You select start up parameters tab from there and register -t272. Then restart SQL Server 2012 instance again and see the difference:

 SqlServer2012自增主键跳跃增长的问题解决方案

参考:http://www.codeproject.com/Tips/668042/SQL-Server-2012-Auto-Identity-column-Value-Jump-Is

相关文章:

  • 2022-12-23
  • 2021-11-18
  • 2022-02-06
  • 2022-12-23
  • 2021-08-22
  • 2022-12-23
  • 2021-10-19
猜你喜欢
  • 2022-02-07
  • 2022-02-07
  • 2021-07-26
  • 2021-09-09
  • 2022-01-09
  • 2021-06-27
相关资源
相似解决方案