Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 32394 invoked from network); 29 Dec 2006 12:32:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Dec 2006 12:32:07 -0000 Received: (qmail 51241 invoked by uid 500); 29 Dec 2006 12:32:12 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 51220 invoked by uid 500); 29 Dec 2006 12:32:12 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 51209 invoked by uid 99); 29 Dec 2006 12:32:11 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Dec 2006 04:32:11 -0800 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_NUMERIC_HELO,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of m96@gmx.li designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 29 Dec 2006 04:32:01 -0800 Received: (qmail invoked by alias); 29 Dec 2006 12:31:39 -0000 Received: from 183.203.76.83.cust.bluewin.ch (EHLO theos.ionia) [83.76.203.183] by mail.gmx.net (mp010) with SMTP; 29 Dec 2006 13:31:39 +0100 X-Authenticated: #10527856 Subject: Re: renaming columns From: m96 To: Derby Discussion In-Reply-To: <4595088F.5010804@sun.com> References: <200612291239.14515.ralf.wiebicke@exedio.com> <4595088F.5010804@sun.com> Content-Type: text/plain; charset=ISO-8859-1 Date: Fri, 29 Dec 2006 13:31:27 +0100 Message-Id: <1167395487.3299.124.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org hi, then why it's described in the reference manual http://db.apache.org/derby/docs/10.2/ref/ref-single.html#crefsqljrenamestatements btw: it doesn't work for me either... i'm using also 10.2.2.0 cheers. On Fri, 2006-12-29 at 13:22 +0100, �ystein Gr�vlen wrote: > Ralf Wiebicke wrote: > > Hi! > > > > I try to rename a column using the following statements: > > > > create table t (a int) > > rename column t.a to b > > > > The second statement throws an exception: > > > > [Error Code: 30000, SQL State: 42X01] Syntax error: Encountered "column" at > > ine 1, column 8. > > > > Although this feature is not yet documented, according to this bug entry: > > > > http://issues.apache.org/jira/browse/DERBY-1490 > > > > this should work since subversion revision 472708. I'm using > > version "10.2.2.0 - (485682)" which is later. When I look at the diff for > > revision 472708, this seems to be, what I want. > > > > Any ideas? > > The release note for 10.2 does not mention that rename column has been > added. > > Note that 10.2.2 is made from another svn branch than the development > branch (trunk). Revision numbers on different branches are not directly > comparable. > > -- > �ystein