Reset identity seed records in SQL Server Ask Question
How to Reset identity seed records in SQL Server?
Option1
DBCC CHECKIDENT ('[YourTableName]', RESEED, 0);
GO
Option 2
DBCC CHECKIDENT ('NameofYourTable', RESEED, 0)
GO
'Option 3
DELETE FROM [MyTable];
DBCC CHECKIDENT ('[MyTable]', RESEED, 0);
Enter an email address to invite a colleague or co-author to join you on socimo. They will receive an email and, in some cases, up to two reminders.