Thursday, December 15, 2011

how to rename a column with sqlite

Unfortunately, there is no standard way to rename a column using sqlite :(. The hack is to create a new table. In this example, I want to rename the column date to deadline of the table todo




source

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.