Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-165

Droppping columns with ALTER TABLE errors out

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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------------------------------------------

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: