How to fix the Oracle error OCI-22975: cannot create a PRIMARY KEY-based REF to this object view?
In this post, you’ll learn more about the Oracle ErrorOCI-22975: cannot create a PRIMARY KEY-based REF to this object view with the details on why you receive this error and the possible solution to fix it.
Oracle Error Description
OCI-22975: cannot create a PRIMARY KEY-based REF to this object view
Reason for the Error OCI-22975: cannot create a PRIMARY KEY-based REF to this object view
The object view specified in the MAKE_REF function does not have a PRIMARY KEY-based object identifier. A PRIMARY KEY-based REF cannot be created for such a view.
How to fix the Error OCI-22975: cannot create a PRIMARY KEY-based REF to this object view ?
You can fix this error in Oracle by following the below steps
Specify an object view that has a PRIMARY KEY-based object identifier in the MAKE_REF function.
Leave Your Comment