Created
July 28, 2025 09:11
-
-
Save r1d3rzz/b5aeeae13c0c02052b599d34f13302a6 to your computer and use it in GitHub Desktop.
Set Next Start Auto Increment Id value in mssql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- current id 1, 2, 3, 4 so reseed is 4 next is 5 | |
| DBCC CHECKIDENT ('Comment', RESEED, 4); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment