Error!
Success!

Fix Gap in Identity Column of Database

0
kicks

Fix Gap in Identity Column of Database  (Unpublished)

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.


Kicked By:
Drop Kicked By: