SQL Server Reset Identität
DBCC CHECKIDENT ('table name', RESEED , 0)
CustomMadeMan
DBCC CHECKIDENT ('table name', RESEED , 0)
DBCC CHECKIDENT ('YourTableName', RESEED, 1)
/*If you have delete all the rows in a table, and you want to reset the identity column value, use this*/
DBCC CHECKIDENT ('Table_Name',RESEED,0)
DBCC CHECKIDENT ('Table_Name',RESEED,0)
USE <databasename>;
GO
DBCC CHECKIDENT ('<tablename>.<columnname>', <value>, <incrementby>);
GO