alter table drop column syntax error using sqlite alter table drop column syntax error using sqlite sqlite sqlite

alter table drop column syntax error using sqlite


Up to version 3.35, SQLite did not support ALTER TABLE DROP COLUMN statements. You could only rename table, or add columns.

If you want to drop a column, your best option was to create a new table without the column, and to drop the old table in order to rename the new one.

As of now, ALTER TABLE support is still limited but includes dropping a column, under conditions.