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

Post New Answer

More Oracle Errors Interview Questions

TNS-00046: INTCTL: Could not contact the CMANAGER on address

1 Answers  


ORA-39086: cannot retrieve job information

1 Answers  


TNS-00241: Connection Manager: Logging is now OFF

1 Answers  


NNL-01040: Data streams opened by server: number

1 Answers  


ORA-13769: Snapshots string and string do not exist.

1 Answers  






RMAN-06425: <datafile pathname not available>

1 Answers  


NMP-00008: SNMP message has incorrect version, version 0 is required

1 Answers  


ORA-16600: Failover operation can only be submitted at target database.

1 Answers  


ORA-16713: The resource guard timed out while servicing the request.

1 Answers  


ORA-00296: maximum number of files (string) exceeded for RECOVER DATAFILE LIST

1 Answers  


ORA-25252: listen failed, the address string is a non-persistent queue

1 Answers  


RMAN-20218: datafile not found in recovery catalog

1 Answers  


Categories