How to fix the Oracle error ORA-22899: cannot specify both scope and rowid constraint on ref column?

In this post, you’ll learn more about the Oracle ErrorORA-22899: cannot specify both scope and rowid constraint on ref column with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-22899: cannot specify both scope and rowid constraint on ref column

Reason for the Error ORA-22899: cannot specify both scope and rowid constraint on ref column

An attempt was made to specify both a scope and a rowid constraint on a REF column.

How to fix the Error ORA-22899: cannot specify both scope and rowid constraint on ref column ?

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

Remove either the rowid or scope constraint and then retry the operation.

Tags :

Leave Your Comment