Procedures of Oracle in php with PDO

前端 未结 2 1967
无人及你
无人及你 2021-01-20 20:00

I\'m having a problem with propel 1.6 and a oracle procedure. I post it under PDO because I\'m Propel just for proxying my call to PDO.

Basically the procedure get t

2条回答
  •  迷失自我
    2021-01-20 20:32

    checks that is OK and return the user

    No - according to the prototype it returns a cursor. Cursors have no meaning outside PL/SQL. If you change the type to a sys_refcursor and explicitly initialize $result_arr as an array, I'd expect it to have a better chance to work.

    Although looking at Alvaro's answer and the absence of a non-scalar paramter type I think it might not.

提交回复
热议问题