DBCC CHECKIDENT('TableName', RESEED, 0)
Note that after running DBCC CHECKIDENT('TableName', RESEED, 0):
– Newly created tables will start with identity 0
– Existing tables will continue with identity 1
Daily micro-tips for C#, SQL, performance, and scalable backend engineering.
DBCC CHECKIDENT('TableName', RESEED, 0)
Note that after running DBCC CHECKIDENT('TableName', RESEED, 0):
– Newly created tables will start with identity 0
– Existing tables will continue with identity 1