Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
Normal
Description
DERBY-1748 added the ability to control the collation of the database during database creation, but leaves users with existing databases with no way to upgrade their databases. In the case of my company, we have many Derby deployments in the field in production, and dropping and recreating the database during upgrade is not possible (or acceptable).
Similar to MySQL, Derby should support ALTER DATABASE to change the default collation of a database. For reference, the MySQL syntax is:
ALTER
{DATABASE | SCHEMA} [db_name]
alter_specification ...
alter_specification:
[DEFAULT] CHARACTER SET [=] charset_name
[DEFAULT] COLLATE [=] collation_name |
I would suggest that this syntax is perfectly acceptable, and should be adopted by Derby.
Attachments
Issue Links
- is related to
-
DERBY-6310 NLS SESSION SORT
- Open
- relates to
-
DERBY-2856 allow change of territory/collation
- Open