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
RMAN-06488: restore from autobackup does not allow any other modifiers
ORA-40104: invalid training data for model build
ORA-24329: invalid character set identifier
DRG-12300: an index with this column list already exists in the index set
ORA-02787: Unable to allocate memory for segment list
ORA-23352: duplicate destination for deferred transaction
IMG-00854: internal image data free failed
ORA-02364: error writing to file: string
KUP-11006: file truncated error in string
TNS-00210: Total Pumps Available : number
QSM-01055: Query Rewrite failed to allocate the necessary materialized view join graph
ORA-09717: osnsui: maximum number of user interrupt handlers exceeded.