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...
2137Hi 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...
2251Post New IBM Oracle Errors Interview Questions
How to get current date in hibernate query?
What is jenkins pipeline? What is a ci cd pipeline?
What is meant by a bit?
What is jsp life cycle?
In which language, backbone js is written?
What is portal (structure and content)?
What is the sequence of execution of map, reduce, recordreader, split, combiner, partitioner?
Discuss any two points on General Budget and Railway Budget?
textbox has viewstate property,but it does not depend on its property to retain their data across page,Explain.
Explain the issues regarding classification and prediction?
What does @bean do in spring?
What are dcs and plc?
Explain wbs?
Explain how to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?
What is your weakness and how will I overcome it?