oci_fetch_assoc
(PHP 5)
oci_fetch_assoc -- Returns the next row from the result data as an associative array
说明
array
oci_fetch_assoc ( resource statement )
Returns the next row from the result data as an associative array.
Calling oci_fetch_assoc() is identical to calling
oci_fetch_array() with OCI_ASSOC.
A subsequent call to oci_fetch_assoc() will return
the next row or FALSE if there are no more rows.
有关 OCI8
驱动程序执行的数据类型映射的细节,见驱动程序支持的数据类型。
参数
statement
A valid OCI statement identifier.
返回值
Returns an associative array, or FALSE if there are no more rows in the
statement
.
注意: 本函数对
PHP NULL 值设定 NULL 字段。
注意:
Oracle returns all field names in uppercase and associative indices in
the result array will be uppercased too.