How to fix the Oracle error ORA-22896: cannot have both scope and referential constraint on REF column “string”?
In this post, you’ll learn more about the Oracle ErrorORA-22896: cannot have both scope and referential constraint on REF column “string” with the details on why you receive this error and the possible solution to fix it.
Oracle Error Description
ORA-22896: cannot have both scope and referential constraint on REF column “string”
Reason for the Error ORA-22896: cannot have both scope and referential constraint on REF column “string”
REF column has both a referential and a scope constraint. A referential constraint implies a scope constraint.
How to fix the Error ORA-22896: cannot have both scope and referential constraint on REF column “string” ?
You can fix this error in Oracle by following the below steps
Remove either the referential or scope constraint and then retry the operation.
Leave Your Comment