Convert SQLite ROWID to primary key -


i have large table without primary key. instead, i've been using built-in rowid one.

problem: can't vacuum database, because:

the vacuum command may change rowids of entries in tables not have explicit integer primary key.

how can convert rowid integer primary key, preserving existing rowids , behavior (or otherwise vacuum not mess rowids)?


Comments

Popular posts from this blog

html - How can i make an element from a bottom stacking context stays in front of another higher stacking context? -

python - TypeError: start must be a integer -

html - href attribute breaking an element -