Oracle Error PLS-00403: expression ‘string’ cannot be used as an INTO-target of a SELECT/FETCH statement

Oracle Error Message

PLS-00403: expression ‘string’ cannot be used as an INTO-target of a SELECT/FETCH statement

Reason for the Error

A FETCH statement was unable to assign a value to an assignment target in its INTO list because the target is not a legally formed and declared variable. For example, the following assignment is illegal because ‘Jones’ is a character string, not a variable: FETCH my_cur INTO ‘Jones’;

Solution

Check the spelling and declaration of the assignment target. Make sure that the rules for forming variable names are followed.

Share:

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

Oracle Error Message ORA-24328: illegal attribute value Reason for the Error The attribute value passed in is illegal. Solution Consult...
Oracle Error Message ORA-01346: LogMiner processed redo beyond specified reset log scn Reason for the Error LogMiner has detected a...
Oracle Error Message ORA-13241: specified dimensionality does not match that of the data Reason for the Error An error occurred...