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-29883: cannot create a domain index on column expressions

1 Answers  


TNS-12643: Client received internal error from server

1 Answers  


ORA-22904: invalid reference to a nested table column

1 Answers  


ORA-12236: TNS:protocol support not loaded

1 Answers  


ORA-06114: NETTCP: SID lookup failure

1 Answers  






ORA-09320: szrfc: unable to obtain the list of valid OS roles

1 Answers  


TNS-12217: TNS:could not contact PREFERRED_CMANAGERS in TNSNAV.ORA

1 Answers  


ORA-06310: IPA: Environment variable(s) not set

1 Answers  


NZE-29227: Certificate is expired.

1 Answers  


PLS-00144: duplicate external CALLING STANDARD specification in subprogram expression

1 Answers  


ORA-01704: string literal too long

1 Answers  


ORA-29524: wrong types of arguments in call to 'string'

1 Answers  


Categories