Oracle Error ORA-39267: Cannot remove default from table column.

Oracle Error Message

ORA-39267: Cannot remove default from table column.

Reason for the Error

DBMS_METADATA_DIFF was comparing two table columns, one with a default value, one without. There is no SQL ALTER syntax to remove a column default.

Solution

The difference cannot be eliminated with an SQL ALTER statement.