Oracle Error ORA-12014: table ‘string’ does not contain a primary key constraint

Oracle Error Message

ORA-12014: table ‘string’ does not contain a primary key constraint

Reason for the Error

The CREATE MATERIALIZED VIEW LOG command was issued with the WITH PRIMARY KEY option and the master table did not contain a primary key constraint or the constraint was disabled.

Solution

Reissue the command using only the WITH ROWID option, create a primary key constraint on the master table, or enable an existing primary key constraint.