sql reset primary key to 1 code example Example: primary key reset in SQL database DBCC CHECKIDENT('TableName',Reseed,0)