Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> Dynamicly build Cursor
Hi,
Forms5, Oracle 8:
I would like to have a cursor variabele which is dynmic build, let say by means of an in parameter 'cur_sql'.
NOW I have it static like:
PROCEDURE SELECT_VAL() IS
BEGIN
...
For R in (
SELECT field FROM table WHERE condition)
LOOP
....
END LOOP;
...
END
What I would like to have in certain way:
PROCEDURE SELECT_VAL(cur_sql IN varchar2) IS
BEGIN
...
For R in (
cur_sql)
LOOP
.... ....
Is this possible????? Received on Mon Jan 08 2001 - 03:28:09 CST