Oracle Error PLS-00394: wrong number of values in the INTO list of a FETCH statement

Oracle Error Message

PLS-00394: wrong number of values in the INTO list of a FETCH statement

Reason for the Error

The number of variables in the INTO clause of a FETCH statement does not match the number of columns in the cursor declaration.

Solution

Change the number of variables in the INTO clause or the number of columns in the cursor declaration so that the numbers match.