Here is the deal I'm trying to define MY_VARIABLE, which would be of a type MY_TABLE%ROWTYPE.
The problem is that MY_TABLE is dynamic and i receive it as a varchar2 variable, so something like
TYPE my_variable
IS TABLE OF my_table%ROWTYPE;
wouldnt work because Compilation errors for PACKAGE BODY DENNIS.XXPORTER
'YOUR_TABLE_NAME' must name a table, cursor or cursor-variable
Now, how do i deal with that??
P S I need my_variable to fetch records from the ref cursor. And i used ref cursor not a cursor as i executed a query where table name (in from clause) was a variable