Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 91941 invoked from network); 6 Nov 2006 18:23:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Nov 2006 18:23:03 -0000 Received: (qmail 1353 invoked by uid 500); 6 Nov 2006 18:23:13 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 1317 invoked by uid 500); 6 Nov 2006 18:23:13 -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 1294 invoked by uid 99); 6 Nov 2006 18:23:12 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Nov 2006 10:23:12 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Nov 2006 10:23:00 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D155371430E for ; Mon, 6 Nov 2006 10:22:40 -0800 (PST) Message-ID: <23124565.1162837360854.JavaMail.jira@brutus> Date: Mon, 6 Nov 2006 10:22:40 -0800 (PST) From: "A B (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-1490) Provide ALTER TABLE RENAME COLUMN functionality In-Reply-To: <14131261.1152375810009.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/DERBY-1490?page=comments#action_12447495 ] A B commented on DERBY-1490: ---------------------------- Thank you for the updated patch, Bryan. The _v3 patch addresses all of my previous comments and looks great to me. I do tend to agree with Rajesh about the presence of "ALTER TABLE" in the error messages--that could be slightly confusing since those words do not appear anywhere in the RENAME COLUMN syntax. However, that seems like it could easily come as a follow-up patch to the _v3 one, if you are inclined to address it... +1 to commit _v3 (though I don't know what came of the sqlAuthorization discussion; was there some resolution as to how (or if) that affects the tests for altertable.sql?) > Provide ALTER TABLE RENAME COLUMN functionality > ----------------------------------------------- > > Key: DERBY-1490 > URL: http://issues.apache.org/jira/browse/DERBY-1490 > Project: Derby > Issue Type: New Feature > Components: Documentation, SQL > Affects Versions: 10.0.2.0, 10.0.2.1, 10.1.1.0, 10.2.1.6, 10.1.2.1, 10.1.3.1 > Reporter: Bryan Pendleton > Assigned To: Bryan Pendleton > Attachments: 1490_cannot_patch.jpg, derby1490_v1_needMoreTests.diff, renameColumn_v2_with_tests.diff, renameColumn_v3_after_review.diff > > > Provide a way to rename a column in an existing table. Possible syntax could be: > ALTER TABLE tablename RENAME COLUMN oldcolumn TO newcolumn; > Feature should properly handle the possibility that the column is currently used in constraints, views, indexes, triggers, etc. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira