The solution to the self-incrementing ID value jumping by 1000 after the sql server2012 database of reading notes is restarted

The problem encountered today is: the problem of the self-incrementing ID value jumping by 1000 after the sql server2012 database of reading notes is restarted. This problem has not been completely solved after testing, which is very regrettable!
Blog actual combat: (读后感http://www.simayi.net读书笔记), a blog focusing on reading notes and writing after reading, learning and sharing.
Problem description:
Create a data table, set the ID as an auto-increment field, and set the ID specification and seed to 1, so that the added record is automatically incremented, which is equivalent to the automatic number in the ACCESS database, which is very convenient, but when You restart the server or restart the SQL SERVER server, this value is not incremented by 1, but incremented by 1001, jumping by 1000, which is very annoying!
After consulting information and consulting some great gods, I found that there is a way to try:
Solution:
1. Open the computer management (run, enter compmgmt.msc, press Enter).
2. Services and Applications -> SQL Server Configuration Manager -> SQL Server Services -> Select the SQL Server instance, right-click, and select the Properties menu. Find the startup parameters in the pop-up window, and then add -t272 to restart the instance in the SQL Server service.
The solution to the self-incrementing ID value jumping by 1000 after the sql server2012 database of reading notes is restarted
Conclusion test:
I found that this did not completely solve the problem. Anyway, after my database restart and server restart, the ID value still jumped and increased by 1000, which is very annoying and annoying.
I don't know if there is any great god that can completely solve this problem? Some please let me know, it would be greatly appreciated!

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325747905&siteId=291194637