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-01085: preceding errors in deferred rpc to "string.string.string"
TNS-00008: INTCTL: could not contact destination Navigator
ORA-00211: controlfile does not match previous controlfiles
ORA-08458: invalid format parameter
ORA-07509: scgfal: $deq parent lock unexpected return
ORA-25329: AQ array operations not allowed on 8.0 queues
ORA-31048: Unsaved resources cannot be updated
NZE-29025: Error found in certificate check callback.
NCR-01004: NCRS: Write error.
ORA-29288: invalid file name
ORA-04064: not executed, invalidated string
KUP-04091: little endian byte order mark found when big endian expected in string