Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
10.1.1.0, 10.1.2.1, 10.1.3.1, 10.2.1.6
-
None
-
None
Description
Derby should provide a feature which allows a user to change the data type of an existing column in an existing table.
Currently, there exists the statement:
ALTER TABLE tablename ALTER COLUMN columnname SET DATA TYPE datatype
However, this statement currently only allows increasing the length of a VARCHAR column. You are not allowed to decrease the width or to change the data type.
It would be nice if this restriction could be lifted, and the datatype could be changed.