Return the SQL Statement of an Explicit Cursor
问题 Taking the example shown in Oracle Forums: Generating excel(xls) using plsql, i would like to generate an excel file from a query's data set. The example provided there works. however, there are some challenges i'm encountering: My SQL query is quite long and exceeds the VARCHAR2 4000 Character limitation. I would like to pass parameters to my query. I would like to do it in a very simple manner and without using Dynamic SQL (if possible). What I've come up is something like below: Package