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...
No Answer is Posted For this Question
Be the First to Post Answer
ORA-32120: Buffer size is less than amount specified
ORA-00449: background process 'string' unexpectedly terminated with error string
ORA-12728: invalid range in regular expression
ORA-14121: MODIFY DEFAULT ATTRIBUTES may not be combined with other operations
TNS-00263: Navigator: Request Failed
RMAN-05019: WARNING: no channel of required type allocated to recover copy of datafile number
ORA-04078: OLD and NEW values cannot be identical
ORA-13290: the specified unit is not supported
ORA-07269: spdcr: detached process died after exec.
ORA-29359: invalid method name string specified for resource plan string
PLS-00152: POINTER type may only reference an object type.
NNL-01055: Requests received: number