Thanks for the reply
But is it possible to use srw.do_sql for creating cursor within the procedure. i want to create cursor cause the query returns more than one rows.
Thanks
You may completely base your Report on Refcursors also or may make use of Inline views.
Even you can make use of Data parameter to prepare & populate your Report from the calling form.
So, please explain your requirment in a bit detail.
Thanks
i am using &p to have a parameter that is going to be changed dynamically(lexical parameter). I had main query and i want to have a formula column which gets the value from the procedure. the procedure should take the parameters that i used in the main query (i mean the lexical parameters i used in the main query). but it is not possible to used lexical parameters in pl/sql. i think i make my requirment a little bit clear.
I appreciate your assistance
Thanks
Using SRW.DO_SQL you can define entire procedure on the DB side, including that you can construct the variable cursor. Then you can use this procedure in the report. If you prefer to keep procedures locally in the report, look into the DBMS_SQL package:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.