PLS-00225: subprogram or cursor 'string' reference is out of
scope
Answer Posted / 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 View All Answers
IMP-00070: Lob definitions in dump file are inconsistent with database.
ORA-26082: load of overlapping segments on table string.string is not allowed
ORA-07497: sdpri: cannot create trace file 'string'; errno = string.
In my project I am using star schema and only diimension tables are loaded and not fact tables any one can help me why it is happening? Plase guide me.
Hi guys, I have four tables those are emp,dept,eliminate and uneliminate. i wrote small cursor..when i run, it display one error (ORA-01403 nodata found)... The query is: Declare cursor c1 is select e.ename emp_name from emp e,dept d where e.deptno=d.deptno group by deptno; r1 c1%rowtype; test_emp varchar2(200); begin for r1 in c1 loop begin select eliminate_emp into test_emp from eliminate t,uneliminate ut where t.number=ut.number and t.deptno=e.deptno and rownum<1; end; dbms_output.put_line(r1.emp_name); end loop; end; Thanks...
ORA-26079: file "string" is not part of table string.string
NZE-28890: Entrust Login Failed
when i ran any workflow or session, getting below error: seesion task instance[s_xxx]: Execution terminated unexpecterdly
ORA-26076: cannot set or reset value after direct path structure is allocated
ORA-16516: The current state is invalid for the attempted operation.
IMP-00064: Definition of LOB was truncated by export
IMP-00096: Warning: Skipping table "string"."string" because type synonym "string"."string" cannot be created
ORA-26029: index string.string partition string initially in unusable state
ORA-26030: index string.string had string partitions made unusable due to:
invalid quantity specification negative quantity are not allowed for this item please check this item definition quantity