How to fix the Oracle error ORA-22891: cannot have multiple columns in REF constraint?

In this post, you’ll learn more about the Oracle ErrorORA-22891: cannot have multiple columns in REF constraint with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-22891: cannot have multiple columns in REF constraint

Reason for the Error ORA-22891: cannot have multiple columns in REF constraint

An attempt was made to specify multiple columns in a single REF constraint.

How to fix the Error ORA-22891: cannot have multiple columns in REF constraint ?

You can fix this error in Oracle by following the below steps

Specify separate constraints for each column and retry the operation.

Tags :

Leave Your Comment