PLS-00386: type mismatch found between FETCH cursor and INTO variables
The following package throws : PLS-00386: type mismatch found at 'V_STUDYTBL' between FETCH cursor and INTO variables Purpose of the code: Define two types outside the package, one is used to send a bunch of numbers into the stored proc and the other is used to return the corresponding rows from my_table Thank you in advance for the inputs. Create OR REPLACE Type InputTyp AS VARRAY(200) OF VARCHAR2 (1000); CREATE TYPE OBJTYP AS OBJECT ( A NUMBER, B VARCHAR2 (1000), C VARCHAR2 (100) ); CREATE TYPE OutputTyp IS VARRAY (2000) OF OBJTYP; / CREATE OR REPLACE PACKAGE my_package AS PROCEDURE my