How do I rename a column in a SQLite database table?
Note that as of version 3.25.0 released September 2018 you can now use ALTER TABLE to rename a column. Original “create new and drop old table” answer below. Say you have a table and need to rename “colb” to “col_b”: First create the new table with a temporary name, based on the old table definition … Read more