Created
October 31, 2014 13:07
-
-
Save adamfisher/3259d1c84340e4a0122b to your computer and use it in GitHub Desktop.
Resets the identity value in a SQL Server Database to 1.
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
USE DatabaseName; | |
GO | |
DBCC CHECKIDENT ('TableName', RESEED, 1); | |
GO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment