Created
September 25, 2013 13:47
-
-
Save umair-me/6699842 to your computer and use it in GitHub Desktop.
Reset Identity Column value SQL Server
This file contains 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
DBCC CHECKIDENT (tableName, RESEED, 10) | |
Note that the next value will be whatever you reseed with + 1, so in this case I set it to 10 so that the next value will be 11. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment