On 1/4/2014 7:15 PM, Elrond wrote:
Short: Could you implement alter table rename column?

The problem would be, what to do with all the indexes, triggers, views and foreign keys that reference that column? SQLite stores database schema as text, in the form of CREATE... statements. I suspect it would require heroic efforts to go over all those statements, find all occurrences of X (where X is the old name of the column), and filter out false positives (cases where X names something else, say a column in a different table).
--
Igor Tandetnik

_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to