Database Error Messages

PLS-00509

Implementation Restriction : Pass a returned record to a temporary identifier before selecting a field

Action

Declare a local record or PL/SQL table of records to which you can assign the function result, then reference its fields directly.