Skip to content

Instantly share code, notes, and snippets.

@Dynyx
Created June 4, 2012 12:58
Show Gist options
  • Save Dynyx/2868214 to your computer and use it in GitHub Desktop.
Save Dynyx/2868214 to your computer and use it in GitHub Desktop.
Reset table identity
--Reset identity to 0
DBCC CHECKIDENT('TableName', RESEED, 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment