PLS-00509: Implementation Restriction : Pass a returned
record to a temporary identifier before selecting a field
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 |
ORA-28275: Multiple mappings for user nickname to LDAP distinguished name exist.
KUP-04100: record rejected in file string
ORA-06446: ssvpstevrg: Failed with unexpected error number.
ORA-29850: invalid option for creation of domain indexes
RMAN-08537: channel string: skipped, autobackup already found
RMAN-10012: KGU error: string
KUP-04089: column transform string is not the name of a table column
ORA-22977: missing or invalid attribute
ORA-40004: penalty must be negative for BLAST-N
ORA-26675: cannot create Streams capture process string
ORA-32620: illegal subquery within MODEL rules
PCB-00553: FOR clause not allowed on this statement