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

ORA-36290: (EIFMAKEF14) You cannot export object workspace object, because EIFVERSION is set to number. That version does not support dimensions of type NUMBER.

1 Answers  


ORA-32339: cannot alter materialized view with the PMOP

1 Answers  


LSX-00176: circular reference detected in schema component named "~S"

1 Answers  


ORA-14000: only one LOCAL clause may be specified

1 Answers  


ORA-33080: (XSAGDNGL40) In AGGMAP workspace object, you cannot reference dimension workspace object with both a RELATION statement and a DIMENSION statement.

1 Answers  






QSM-02130: expression not supported for fast refresh

1 Answers  


ORA-09982: skxfqddrg: Error Removing a page from the SDI buffer pool

1 Answers  


NNF-01003: DCE could not find cell name

1 Answers  


ORA-24388: Unsupported functionality in fast path mode

1 Answers  


DRG-11811: Multiple Choices

1 Answers  


ORA-38417: attribute set string does not exist

1 Answers  


ORA-13411: subset results in null data set

1 Answers  


Categories