OCI8 函数
PHP 手册

oci_fetch_object

(PHP 5, PECL oci8 >= 1.1.0)

oci_fetch_objectReturns the next row from the result data as an object

说明

object oci_fetch_object ( resource $statement )

Returns the next row from the result data as an object.

Subsequent calls to oci_fetch_object() will return the next row from the result or FALSE if there are no more rows.

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

参数

statement

A valid OCI statement identifier.

返回值

Returns an object, which attributes correspond to fields in statement, or FALSE if there are no more rows in the statement .

Note: 本函数对 PHP NULL 值设定 NULL 字段。

Note: Oracle returns all field names in uppercase and associative indices in the result object will be uppercased too.

参见


OCI8 函数
PHP 手册