-7038: Foreign key column not allowed
Explanation:
A foreign key column is a column which was specified in the <REFERENCING COLUMN> of a <REFERENTIAL CONSTRAINT DEFINITION>.
User Action:
Delete the REFERENTIAL CONSTRAINT DEFINITION and then the column or key.