hey all. I have a table in my DB that has about a thousand records in it. I would like to reset the identity column so that all of the ID's are sequential again. I was looking at this but I'm ASSuming that it only works on an empty table
Current Table
ID | Name
1 Joe
2 Phil
5 Jan
88 Rob
Desired Table
ID | Name
1 Joe
2 Phil
3 Jan
4 Rob
Thanks in advance
ID | ParentID | Name
– Bentham1|0|Los Angeles
and California would be2|1|California
and San Fransisco would be2|1|San Fransisco
. I had to work on some code to do a bulk import, and I hit the DB about 20 times resulting in the current ID's reaching like 100,000... so I'd just like to bring it all back in order is all. If it's too hard, I'll leave it. – Bentham