Forum und email

oci_fetch_assoc

(PHP 5, PECL oci8:1.1-1.2.4)

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 .

Note: 이 함수는 NULL 필드를 PHP NULL 값으로 설정합니다.

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