dynamic query into my own type variable
Hi Masters,
I'm programming a function that retorns my own type. This tpe is defined as 20 varchar2(1000) fields.
I'm making a dynamic query that can return different number of columns and I want to put the result of this query into a variable defined as my type just in order to return it in the function. I can't use the "bulk collect into" syntax because it not run in this case.
Please, can you help me in this issue?
Thanks in advance!