BEFORE Clause

The optional BEFORE clause determines the ordinal positions of the new columns within the schema of the table by specifying the name of an existing column before which the ALTER TABLE ADD statement inserts the new columns.

About this task

In the following example, the BEFORE option directs the database server to add the item_weight column before the total_price column:
ALTER TABLE items
   ADD (item_weight DECIMAL(6,2) NOT NULL BEFORE total_price); 

By default, if you do not include the BEFORE clause, the database server appends the new columns after the last column in the current schema of the table, in their lexical order within the ADD clause.