This is the code that works to add a column.
mDb.execSQL("ALTER TABLE " + table_name + " ADD COLUMN " + column_name + " text");
My problem: the column is being created at the last position of the table.
Column1|Column2|Column3|Column4|Column5|NewAddedColumn6
eg. Is it possible to add a column between Column3 and Column4 ???
Column1|Column2|Column3|NewAddedColumn6|Column4|Column5
android sql mysql sqlite
Tower jimmy
source share