Answer Posted / cyril mathew
A REF CURSOR is basically a data type. A variable created
based on such a data type is generally called a cursor
variable. A cursor variable can be associated with
different queries at run-time.
type r_cursor is REF CURSOR;
c_emp r_cursor;
en emp.ename%type;
begin
open c_emp for select ename from emp;
loop
fetch c_emp into en;
exit when c_emp%notfound;
dbms_output.put_line(en);
end loop;
close c_emp;
end;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the concept of soa governance?
can we get profile values in report without using user exists is it possible how?
What do you understand by a set of books?
Can u give the Documentation of Custom.pll in oracle apps
What do you understand by soa and what are the benefits of using this architecture?
Are you familiar with internet architecture of oracle apps 11i?
What are the Standard Reports and Forms in HRMS?
What is a flexfield? List out its types.
pls send me out bound code of supplers,site,bankiformation code pls as soon as
In support project one ticket alloted which steps follows manualy tell me ?
what are the prerequisites for costing transactions?
CAN YOU CUSTOMISE THE COUTOMISE CUS_TOP
What is a value set? List its various types.
how can develope the po variance and po summary report? with tables mandatory columns and query please?
What is sca and how is it useful?