Lets say I have some ID numbers that I want to be able to be recycled--
1, 2,3,4,5,6,7 and I delete 2, 3, - well with a select count(...) statement I'd get 5 (which is already used)-
If I did a select Max(...) and added one I'd get 8, but that doesn't help me recycle the numbers-
Is there an easier way besides using a while loop to find an unused spot (say 2 and 3)? (maybe an SQL command?)
Thanks for the help!
-Scott