db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralf Wiebicke <ralf.wiebi...@exedio.com>
Subject renaming columns
Date Fri, 29 Dec 2006 11:39:14 GMT

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?

Best regards,
Ralf.





-- 
Ralf Wiebicke
Softwareengineer

exedio GmbH
Am Fiebig 14
01561 Thiendorf
Deutschland

Telefon +49 (35248) 80-118
Fax +49 (35248) 80-199
ralf.wiebicke@exedio.com
www.exedio.com

Mime
View raw message