Oracle Error ORA-30729: maximum number of columns exceeded

Oracle Error Message

ORA-30729: maximum number of columns exceeded

Reason for the Error

Adding scope or referential constraint on a REF column requires the creation of additional columns if the target table’s object identifier is primary key based.

Solution

Drop some columns and retry the operation.