错误码 / Oracle Database

Oracle Database 错误码 PLS-00362

invalid cursor return type; ' string ' must be a record type 原因:In a cursor specification or REF CURSOR type definition, a non- record type such as NU…

错误说明

invalid cursor return type; ' string ' must be a record type

原因: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

处理:Revise the cursor specification or REF CURSOR type definition so that it specifies one of the above return types.

官方文档

进一步检索

相关错误码