Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 31069 invoked from network); 7 Apr 2011 01:15:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Apr 2011 01:15:46 -0000 Received: (qmail 1324 invoked by uid 500); 7 Apr 2011 01:15:46 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 1300 invoked by uid 500); 7 Apr 2011 01:15:46 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 1293 invoked by uid 99); 7 Apr 2011 01:15:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Apr 2011 01:15:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Apr 2011 01:15:44 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6669996F9F for ; Thu, 7 Apr 2011 01:15:06 +0000 (UTC) Date: Thu, 7 Apr 2011 01:15:06 +0000 (UTC) From: "Brett Wooldridge (JIRA)" To: derby-dev@db.apache.org Message-ID: <464279261.39520.1302138906416.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2018992841.39510.1302138245719.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (DERBY-5179) Support ALTER DATABASE to change collation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-5179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brett Wooldridge updated DERBY-5179: ------------------------------------ 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. was: 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, they 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. > Support ALTER DATABASE to change collation > ------------------------------------------ > > Key: DERBY-5179 > URL: https://issues.apache.org/jira/browse/DERBY-5179 > Project: Derby > Issue Type: Improvement > Components: SQL, Store > Reporter: Brett Wooldridge > > 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. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira