Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> about PL/SQL cursor
I am going to use a cursor to query some records upon the a cursor
parameter.
the parameter is the operator. some thing like this:
cursor cur_test( opr in varchar2, dept in number) is
select ename
from emp
where deptno opr dept;
then I want to call this cursor as
for rcd in cur_test('>', 30) loop
.... null;
Please help. Thanks
Qianli Luo Received on Wed Sep 01 1999 - 04:26:53 CDT
![]() |
![]() |