I have a table of 5700 records. The primary key is an integer. Now I noticed that some values are missing. Like this:
100 data
101 data
102 data
104 data
>
I'd advise against messing with your PKs unless you really have no choice, it can cause breakage all over the place when that id column is referred by other tables. If the PK really tolerates no gaps, maybe the choice of PK was not ideal...
If you really think you should do this (and are sure nothing will break in other tables):