PLS-00362: invalid cursor return type; ‘string’ must be a record type

oracle

PLS-00362: invalid cursor return type; 'string' must be a record type
Cause: In a cursor specification or REF CURSOR type definition, a non-record type such as NUMBER or TABLE was specified as the return type. This is not allowed. Only the following return types are allowed: 

     record_type_name 

     record_name%TYPE 

     table_name%ROWTYPE 

     cursor_name%ROWTYPE 

     cursor_variable_name%ROWTYTPE
Action: Revise the cursor specification or REF CURSOR type definition so that it specifies one of the above return types.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/