did you check the documentation? I don't think drop column is a supported feaure in derby. If not, then this should be logged as a feature request, not a bug.

Shreyas Kaushik (JIRA) wrote:
Droppping columns with ALTER TABLE errors out
---------------------------------------------

Key: DERBY-165
URL: http://issues.apache.org/jira/browse/DERBY-165
Project: Derby
Type: Bug
Components: SQL Environment: Linux
Reporter: Shreyas Kaushik
Priority: Minor



When I try to drop columns using ALTER TABLE command I get the following error, irrespective of me using "column" keyword in addition to the drop keyword.

----------------------ERROR REPORT-------------------------------------------
ij> alter table test_linux drop column dept;
ERROR 42X01: Syntax error: Encountered "drop" at line 1, column 24.
ij> alter table test_linux drop dept;
ERROR 42X01: Syntax error: Encountered "drop" at line 1, column 24.
----------------------ERROR REPORT-------------------------------------------






Reply via email to