DROP Column Clause

Use the DROP Column clause to remove one or more columns from the schema of a table.

This syntax fragment is part of the ALTER TABLE statement.
DROP Column Clause

1  DROP
1  ( + , column )
1 column
Element Description Restrictions Syntax
column Name of a column to be dropped Must exist in the table. No fragment expression can reference the column, and it cannot be the last column in the table. Identifier

You cannot issue an ALTER TABLE DROP statement that would drop every column from the table. At least one column must remain in the table.

You cannot drop a column that is part of the fragmentation key of a fragmentation strategy.

A column that is protected by a security label can be dropped by the ALTER TABLE DROP statement, but the user must be DBSECADM and must also hold the usual CONNECT, RESOURCE, and ALTER access privileges for modifying the schema of the table.