How to fix the Oracle error ORA-22972: NULL value not allowed in PRIMARY KEY-based object identifier?
In this post, you’ll learn more about the Oracle ErrorORA-22972: NULL value not allowed in PRIMARY KEY-based object identifier with the details on why you receive this error and the possible solution to fix it.
Oracle Error Description
ORA-22972: NULL value not allowed in PRIMARY KEY-based object identifier
Reason for the Error ORA-22972: NULL value not allowed in PRIMARY KEY-based object identifier
A value constituting the PRIMARY KEY-based object identifier is NULL.
How to fix the Error ORA-22972: NULL value not allowed in PRIMARY KEY-based object identifier ?
You can fix this error in Oracle by following the below steps
Ensure the expressions in MAKE_REF system function or attributes in the WITH OBJECT OID clause of an object view do not evaluate to NULL.
Leave Your Comment