How to fix the Oracle error PLS-00394: wrong number of values in the INTO list of a FETCH statement?
In this post, you’ll learn more about the Oracle ErrorPLS-00394: wrong number of values in the INTO list of a FETCH statement with the details on why you receive this error and the possible solution to fix it.
Oracle Error Description
PLS-00394: wrong number of values in the INTO list of a FETCH statement
Reason for the Error PLS-00394: wrong number of values in the INTO list of a FETCH statement
The number of variables in the INTO clause of a FETCH statement does not match the number of columns in the cursor declaration.
How to fix the Error PLS-00394: wrong number of values in the INTO list of a FETCH statement ?
You can fix this error in Oracle by following the below steps
Change the number of variables in the INTO clause or the number of columns in the cursor declaration so that the numbers match.
Leave Your Comment