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
Post a Comment