SQL Server resetuj tożsamość
DBCC CHECKIDENT ('table name', RESEED , 0)
CustomMadeMan
DBCC CHECKIDENT ('table name', RESEED , 0)
/*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)