Re-seeding the Identity Value

dbcc checkident ([table to re-seed], reseed, [value to set identity value at])

If you set the value to 0, the next inserted value will be 1


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.