Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Bind variable as search pattern
Hello There:
I am trying use bind variable as search pattern in cursor,
but I couldn't get result set.
I think there is something wrong with the like statement.
Any hint, please?
Thanks in advance.
Tina
Below is my code.
begin
v_counter:=0;
open block_cursor;
loop
fetch block_cursor into v_prop;
exit when block_cursor%rowcount>5 or
block_cursor%notfound;
end loop;
close block_cursor;
end test5;
Received on Tue Sep 24 2002 - 15:25:21 CDT