Summary
Data Definition Use SQL Function Return SYS_REFCURSOR
Content
Hello,
Is it possible to call a function which returns SYS_REFCURSOR as output to be used in data definition?
I have a function which would return SYS_REFCURSOR and the SQL would be used is the below
SELECT my_func(param) FROM DUAL
The above would return more than one rows. The column heading vary based on the parameter being passed to my_func function. In this case, how can I define <dataStructure> elements in data definition
elements in data definition xml file? Another problem is how can I define headings in template xml file?
Appreciate any insight in this