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



PLS-00509: Implementation Restriction : Pass a returned record to a temporary identifier before sel..

Answer / guest

Cause: Illegal syntax was used to call a parameter-less
function that returns a record or a PL/SQL table of records.
When calling a function that takes parameters and returns a
record, you use the following syntax to reference fields in
the record: function_name(parameters).field_name However,
you cannot use the syntax above to call a parameter-less
function because PL/SQL does not allow empty parameter
lists. That is, the following syntax is illegal:
function_name().field_name -- illegal; empty parameter list
You cannot just drop the empty parameter list because the
following syntax is also illegal: function_name.field_name
-- illegal; no parameter list.

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

Please add more information about this Error

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle Errors Interview Questions

ORA-01537: cannot add data file 'string' - file already part of database

2 Answers  


ORA-30515: suspend triggers cannot have BEFORE type

1 Answers  


TNS-00018: INTCTL: TNS_ADMIN not defined

1 Answers  


TNS-01415: Listening Endpoints Summary...

1 Answers  


ORA-14514: LOCAL option not valid without subpartition name

1 Answers  






SQL*Loader-00514: Error getting elapsed time

1 Answers  


ORA-16706: no resource guard is available

1 Answers  


ORA-06253: NETNTT: cannot read arguments from address file

1 Answers  


SQL*Loader-00251: Sort devices are not used by SQL*Loader

1 Answers  


PCB-00206: Cannot use N quoted literal in PL/SQL when NLS_LOCAL=YES

1 Answers  


ORA-32333: disable table scn update for Materialized view

1 Answers  


ORA-31062: Cannot delete an unsaved resource

1 Answers  


Categories