Answers for "delete all rows and reset identity sql server"

SQL
1

reset identity column in sql server

DBCC CHECKIDENT ('YourTableName', RESEED, 1)
Posted by: Guest on December-15-2020
0

how to reset the identity column in sql server

USE <databasename>;  
GO  
DBCC CHECKIDENT ('<tablename>.<columnname>', <value>, <incrementby>);  
GO
Posted by: Guest on January-02-2021

Code answers related to "delete all rows and reset identity sql server"

Code answers related to "SQL"

Browse Popular Code Answers by Language