php 存储过程 返回值

来源:百度知道 编辑:UC知道 时间:2024/04/28 10:46:55
php oracle 存储过程 游标 返回值 在线等
create or replace package types is
type cursorType is ref cursor;
end ;
create or replace procedure getemps( CursorOut out types.cursorType )
as
begin
open CursorOut for select id, card_number from OVT_SA_IC order by id;
end getemps;
调用: $db->Connect('168.1.1.173:1521', 'ovtsmsl', 'ovtsmsl', 'ovtsmsl');
$sql=" declare type cursorType is ref cursor; CursorOut cursorType;
Begin
getemps(:CursorOut);
End;";
var_dump ($db->execute($sql));
$db是 adodb的一个连接类
为什么打出是一个 false

PHP Designer 2008专业版+特别文件 完美版
http://bbs.topsage.com/dispbbs.asp?boardID=123&ID=162005
PHP Designer 2007专业版+特别文件 完美版
http://bbs.topsage.com/dispbbs.asp?boardID=123&ID=161997
Practical Web 2.0 Applications with PHP(Apress 2008最新版)
http://bbs.topsage.com/dispbbs.asp?boardID=123&ID=170237
Practical Apache Struts2 Web 2.0 Projects
http://bbs.topsage.com/dispbbs.asp?boardID=123&ID=170311
O'Reilly Learning PHP & MySQL 第二版