Oracle Error ORA-22976: incorrect number of arguments to MAKE_REF

Oracle Error Message

ORA-22976: incorrect number of arguments to MAKE_REF

Reason for the Error

Number of arguments for MAKE_REF is different from the number of PRIMARY KEY attributes of the object view.

Solution

Specify all the necessary arguments for MAKE_REF.