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-03211: The segment does not exist or is not in a valid state

1 Answers  


DRG-11844: HTTP Version Not Supported

1 Answers  


ORA-31067: XML nodes must be updated with nodes of the same type

1 Answers  


ORA-15171: invalid syntax in the alias path after 'string'

1 Answers  


NZE-28816: No password provided for a PL/SQL function.

1 Answers  






ORA-13380: network not found

1 Answers  


ORA-16122: applying large dml transaction at SCN string

1 Answers  


ORA-06032: NETDNT: connect failed, access control data rejected

1 Answers  


DRG-50704: Net8 listener is not running or cannot start external procedures

1 Answers  


ORA-19762: invalid file type string

1 Answers  


CLSR-00502: Error number encountered when subscribing an EVM event

1 Answers  


QSM-02032: no joins are present in the WHERE clause

1 Answers  


Categories