0
I am using SQL server and the scenario is that I have a table with an auto increment id field, for example I have 3 field inserted, in case there are the ids 1, 2 and 3, if I delete the column with id = 3
, and to continue an insertion, the ids following will be from 4, would have to use this that was deleted, ie have the data in sequence without skipping any id or not?
In this case it would also serve as an addition, if the id = 1,
do a general update that makes others with sequential id from the first, occupying the place from which it was deleted?
Unnecessary, unlikely some application use all possible indices
INT
to the point of needing to reuse the deleted keys and if it comes to occur an additional complexity imposed by a lack of planning.– Augusto Vasques