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

          Shreyas Kaushik created issue -
          Satheesh Bandaram made changes -
          Field Original Value New Value
          Type Bug [ 1 ] New Feature [ 2 ]
          Rick Hillegas made changes -
          Link This issue is related to DERBY-396 [ DERBY-396 ]
          Satheesh Bandaram made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Duplicate [ 3 ]
          Bryan Pendleton made changes -
          Link This issue is related to DERBY-1489 [ DERBY-1489 ]
          Kristian Waagan made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Dag H. Wanvik made changes -
          Issue Type New Feature [ 2 ] Improvement [ 4 ]
          Gavin made changes -
          Workflow jira [ 40658 ] Default workflow, editable Closed status [ 12801268 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development