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

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

You May Also Like

Oracle Error Message CLSGN-32767: Internal error. Reason for the Error An unexpected error occurred. Solution Examine the message(s) that accompany...
Oracle Error Message CLSGN-00211: OCR batch operation failed. string Reason for the Error Setting a set of Oracle Cluster Registry...
Oracle Error Message CLSGN-00210: failed to get value for OCR key “string”. string Reason for the Error It was not...