Created
January 7, 2014 23:28
-
-
Save tkMageztik/8308846 to your computer and use it in GitHub Desktop.
Reiniciar valor identity de la columna de una tabla, donde el valor representa el número en donde quiere que se quede el índice, el siguiente registró será +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
DECLARE I INT | |
SET I = 0 | |
DBCC CHECKIDENT('TABLA', RESEED, I) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment