Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

ORA-27465: invalid value string for attribute string

1 Answers  


ORA-39951: incomplete values specified for PL/SQL warning settings

1 Answers  


ORA-26062: Can not continue from previous errors.

1 Answers  


SQL*Loader-00476: count of elements for collection is not set or null, 0 will be used

1 Answers  


NNL-00906: NOT A LEAF NAME responses sent: number

1 Answers  


ORA-00820: Specified value of sga_max_size is too small, needs to be at least stringM

1 Answers  


PCB-00702: Out-of-range item number

1 Answers  


ORA-29522: authorization error for referenced name string.string

1 Answers  


ORA-09921: Unable to get information label from connection

1 Answers  


ORA-19908: datafile string has invalid checkpoint

1 Answers  


NNO-00152: warning: hint count number exceeds maximum of number, first number will be loaded

1 Answers  


ORA-28001: the password has expired

1 Answers  


Categories