Skip to content

Instantly share code, notes, and snippets.

@tkMageztik
Created January 7, 2014 23:28
Show Gist options
  • Save tkMageztik/8308846 to your computer and use it in GitHub Desktop.
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
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