Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

RMAN-12012: multiple records for string parallelism found in catalog

1 Answers  


ORA-02795: Request list is empty

1 Answers  


ORA-19560: %s is not a valid device limit

1 Answers  


ORA-16071: dependency archived log file not found string

1 Answers  


PLS-00390: undefined column 'string' in INSERT statement

1 Answers  






ORA-07601: spguno: $GETJPIW failure

1 Answers  


ORA-01654: unable to extend index string.string by string in tablespace string

1 Answers  


ORA-31673: worker process interrupt for normal exit by master process

1 Answers  


RMAN-06074: file string is not an ORACLE datafile

1 Answers  


DRG-50904: weight string outside valid range 0.1 to 10.0

1 Answers  


ORA-12813: value for PARALLEL or DEGREE must be greater than 0

1 Answers  


NNC-00422: invalid data type name "string"

1 Answers  






Categories