Derby
  1. Derby
  2. DERBY-6010

Reference Manual should clarify what ALTER TABLE ADD COLUMN does

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.9.1.0, 10.10.1.1
    • Fix Version/s: 10.9.2.2, 10.10.1.1
    • Component/s: Documentation
    • Labels:
      None

      Description

      The documentation should state explicitly that ALTER TABLE ADD COLUMN adds the new column at the end of the table row. If you need to change a column (for example, to change its data type), the only way to do so is to drop the column and add a new one, and this changes the ordering of the columns.

      1. rrefsqlj81859.html
        19 kB
        Kim Haase
      2. DERBY-6010.diff
        1 kB
        Kim Haase

        Activity

        Hide
        Kim Haase added a comment -

        Closing, since the change has appeared in the Latest Alpha Manuals.

        Show
        Kim Haase added a comment - Closing, since the change has appeared in the Latest Alpha Manuals.
        Hide
        Kim Haase added a comment -

        Merged DERBY-6010.diff to 10.9 doc branch at revision 1422062.

        Show
        Kim Haase added a comment - Merged DERBY-6010 .diff to 10.9 doc branch at revision 1422062.
        Hide
        Kim Haase added a comment -

        Reopening to merge to 10.9 branch.

        Show
        Kim Haase added a comment - Reopening to merge to 10.9 branch.
        Hide
        Kim Haase added a comment -

        Thanks, Knut!

        Committed patch DERBY-6010.diff to documentation trunk at revision 1419490.

        Show
        Kim Haase added a comment - Thanks, Knut! Committed patch DERBY-6010 .diff to documentation trunk at revision 1419490.
        Hide
        Knut Anders Hatlen added a comment -

        Thanks, Kim. The added paragraph looks clear to me. +1 to commit.

        Show
        Knut Anders Hatlen added a comment - Thanks, Kim. The added paragraph looks clear to me. +1 to commit.
        Hide
        Kim Haase added a comment -

        Attaching DERBY-6010.diff and rrefsqlj81859.html, adding a paragraph to the ALTER TABLE topic. I hope this is sufficient.

        M src/ref/rrefsqlj81859.dita

        I should mention that this doc issue results from the same discussion on the derby-user list that led to the creation of DERBY-6006, although the relationship of this issue to that one may not be obvious.

        Thanks in advance for any comments.

        Show
        Kim Haase added a comment - Attaching DERBY-6010 .diff and rrefsqlj81859.html, adding a paragraph to the ALTER TABLE topic. I hope this is sufficient. M src/ref/rrefsqlj81859.dita I should mention that this doc issue results from the same discussion on the derby-user list that led to the creation of DERBY-6006 , although the relationship of this issue to that one may not be obvious. Thanks in advance for any comments.

          People

          • Assignee:
            Kim Haase
            Reporter:
            Kim Haase
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development