Derby
  1. Derby
  2. DERBY-165

Droppping columns with ALTER TABLE errors out

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: SQL
    • Labels:
      None
    • Environment:
      Linux

      Description

      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------------------------------------------

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Shreyas Kaushik
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development