How to fix the Oracle error ORA-23367: table string is missing the primary key?

In this post, you’ll learn more about the Oracle ErrorORA-23367: table string is missing the primary key with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-23367: table string is missing the primary key

Reason for the Error ORA-23367: table string is missing the primary key

Table specified in argument “oname1” or “oname2” in call to “differences()” routine does not contain either a primary key or a virtual primary key (defined through dbms_repcat package under symmetric replication).

How to fix the Error ORA-23367: table string is missing the primary key ?

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

Make sure the tables specified have a primary key defined.

Tags :

Leave Your Comment