oci_fetch

(PHP 5)

oci_fetch -- Fetches the next row into result-buffer

说明

bool oci_fetch ( resource statement )

oci_fetch() 获取下一行(对于 SELECT 语句)到内部结果缓冲区。

如果成功则返回 TRUE,失败则返回 FALSE

有关 OCI8 驱动程序执行的数据类型映射的细节,见驱动程序支持的数据类型

注: 在 PHP 5.0.0 之前的版本必须使用 ocifetch() 替代本函数。该函数名仍然可用,为向下兼容作为 oci_fetch() 的别名。不过其已被废弃,不推荐使用。


add a note add a note User Contributed Notes
mlong-php at mlong dot us
09-May-2006 06:42
Use this with OCIResult().  Though you may find OCIFetchInto to be faster than the combination of OCIFetch and OCIResult