How can I change the type of a column?


Changing a column’s type or dropping a column requires rewriting the table. For an example, see Change column type.