Skip to content

Instantly share code, notes, and snippets.

@umair-me
Created September 25, 2013 13:47
Show Gist options
  • Save umair-me/6699842 to your computer and use it in GitHub Desktop.
Save umair-me/6699842 to your computer and use it in GitHub Desktop.
Reset Identity Column value SQL Server
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