PLS-00990: Index Tables of Cursor Variables are disallowed
Cause: An attempt was made to build a PL/SQL index table using cursor variables.
Action: Rewrite your application, using standalone cursor variables and procedure parameters, PL/SQL index tables of records and loops.