Fix Gap in Identity Column of Database(blog.sqlauthority.com)
submitted by
pinaldave(9662) 3 years, 1 month ago
Some time ago I was helping one of my Junior Developers who presented me with an interesting situation. He had a table with Identity Column. Because of some reasons he was compelled to delete few rows from the table. On inserting new rows in the table he noticed that the rows started from the next identity value which created gap in the identity value. His application required all the identities to be in sequence, so this was certainly not a small issue for him.
|category: Database
|Views: 248
tags:
SQLAuthority pinaldave SQLServer Database SQL another
Everyones tags:
Your Tags: