Hello all,
I need to deal with an array being passed back from an Oracle stored procedure which has several out parameters returning arrays (in addition to several in parameters and regular out parameters). Is this possible?
At the moment, the code looks something like this:
I am getting "wrong number or types of arguments" errors. The actual proc has so many parameters, it's just too lengthy to post here.
Any suggestions appreciated.
I need to deal with an array being passed back from an Oracle stored procedure which has several out parameters returning arrays (in addition to several in parameters and regular out parameters). Is this possible?
At the moment, the code looks something like this:
Code:
$Oracle = OCILogon(...);
$curs = OCINewCursor($Oracle);
$proc = OCIParse($Oracle,'begin pack_test.sp_test(...,:curs); end');
OCIBindByName($proc,":curs",$curs,-1,OCI_B_CURSOR);
OCIExecute($proc);
OCIExecute($curs);
I am getting "wrong number or types of arguments" errors. The actual proc has so many parameters, it's just too lengthy to post here.
Any suggestions appreciated.