I\'m stuck with this error and really don\'t know how to fix it. Maybe i\'m passing array in improper way?
This is main sql file.
DECLARE
v_array_lengt
The type definition in main sql file is not the type that is expected by the package subroutine. IOPACKAGE.OUTPUT_ARRAY
-subroutine expects type IOPACKAGE.NUMBER_ARRAY_TYPE
. You don't have to re-define the type. The following should work:
declare
v_array IOPACKAGE.NUMBER_ARRAY_TYPE;
begin
IOPACKAGE.OUTPUT_ARRAY(v_array);
end;
See the difference between IOPACKAGE.NUMBER_ARRAY_TYPE
and NUMBER_ARRAY_TYPE
. They are similar but not the same.