PLS-00225: subprogram or cursor 'string' reference is out of
scope



PLS-00225: subprogram or cursor 'string' reference is out of scope..

Answer / guest

Cause: The prefix in a qualified name was a subprogram or
cursor which was not in an enclosing scope; i.e., a
subprogram or cursor name is being used as a scope qualifier
for a reference to an entity (within that subprogram or
cursor) that is not in scope. Example: declare x number;
type t1 is record (a number); function f return t1 is a
number; begin x := f.a; -- legal use of function "f" as a
scope qualifier; -- resolves to local variable "a" in
function "f". x := f().a; -- legal reference to component
"a" of returned record end; begin x := f.a; -- illegal use
of function "f" as a scope qualifier x := f().a; -- legal
reference to component "a" of returned record end;

Action: a) if the intention was to refer to a local variable
of a non-enclosing function, this is not allowed; remove the
reference b) if this is a parameterless function, and the
the intention was to access a field of the result of a call
to this function, then use empty parentheses in the call.

Please add more information about this Error

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Oracle Errors Interview Questions

RMAN-06401: database is already started

1 Answers  


TNS-01007: quit | exit : exit LSNRCTL

1 Answers  


ORA-31453: invalid value string for parameter, expecting: Y, N, or NULL

1 Answers  


ORA-14045: only one partition may be modified

1 Answers  


NCR-02008: NCRF: Error within stream processing in format interpreter

1 Answers  


ORA-01463: cannot modify column datatype with current constraint(s)

1 Answers  


NZE-28875: SSL: use server-gated cryptographic suites

1 Answers  


LFI-01503: Max filename size exceeded generating filename.

1 Answers  


ORA-19831: incompatible string.string.string DBMS_BACKUP_RESTORE package: string.string.string required

1 Answers  


ORA-21523: functionality not supported by the server (object mode only)

1 Answers  


ORA-00401: the value for parameter string is not supported by this release

1 Answers  


TNS-00134: Missing COMMUNITY component in addresses for the Navigator in TNSNAV.ORA

1 Answers  


Categories