Executing an Oracle stored procedure with a output parameter of a complex type using php adodb library -


using following code error stating invalid number of parameters.

        $stmt = $this->db->preparesp("declare sonuc vreport_array; begin zds.admin_report(:sorgu_tarih,:sonuc); end;");         $this->db->inparameter($stmt,$data['sorgu_tarih'],'sorgu_tarih');         $this->db->outparameter($stmt,$output,'sonuc');         $rs = $this->db->execute($stmt); 

the second parameter named sonuc of varray / table type. cannot sure whether kind of return type unsopperted or i'm missing else. i'm using adodb library database operations.

edit: following error message got running procedure call.

oci8 error: [6550: ora-06550: line 1, column 36: pls-00306: wrong number or types of arguments in call 'admin_report' ora-06550: line 1, column 36: pl/sql: statement ignored] in execute("array") 

edit 2: after ton of trials , wasted hours, still not working. application has other statements calling stored procedures (none of them have return output parameter) . executed through execute method directly. preparesp , inparameter/outparameter never used.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -