Im trying to call a function defined in Oracle and I have been doing this fine with other packages, but this one has three of its parameters defined as arrays:
Most of the parameters are defined like this:
var1 IN OUT VARCHAR2,
but the ones I am having trouble with are defined like this:
var2 IN OUT GLBL_DEFS.NUM_ARRAY,
I found the GLBL_DEFS and the NUM_ARRAY is defined like this:
TYPE NUM_ARRAY IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;
What I need to know is how to pass an array for parameters like this...
In looking at the other posts, I suspect that the TOracle Package isn't capable of this and that I will have to use TOracleQuery and write a small PL/SQL for this - but I don't know how to do that!
Any help would be very greatly appreciated!
Thank you
Most of the parameters are defined like this:
var1 IN OUT VARCHAR2,
but the ones I am having trouble with are defined like this:
var2 IN OUT GLBL_DEFS.NUM_ARRAY,
I found the GLBL_DEFS and the NUM_ARRAY is defined like this:
TYPE NUM_ARRAY IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;
What I need to know is how to pass an array for parameters like this...
In looking at the other posts, I suspect that the TOracle Package isn't capable of this and that I will have to use TOracleQuery and write a small PL/SQL for this - but I don't know how to do that!
Any help would be very greatly appreciated!
Thank you
