Use the DROP CRCOLS keywords to drop the cdrserver and cdrtime shadow columns. You cannot drop these columns if Enterprise Replication is in use.
Use the ADD Column clause to add a column to a table.
ADD Column Clause: .-,--------------. V | |--ADD--+-(----| New Column |-+--)-+----------------------------| '-| New Column |-----------' New Column: (1) |--new_column--| Data Type |------------------------------------> >--+-------------------------+----------------------------------> | (2) | '-| DEFAULT Clause |------' >--+------------------------------------------+-----------------> | (3) | '-| Single-Column Constraint Format |------' >--+----------------+-------------------------------------------| '-BEFORE--column-'
Element | Description | Restrictions | Syntax |
---|---|---|---|
column | Name of column before which new_column is to be placed | Must already exist in the table | Identifier, p. Identifier |
new_column | Name of column that you are adding | You cannot add a serial column if the table contains data | Identifier, p. Identifier |
The following restrictions apply to the ADD clause: