oci_fetch_assoc
(PHP 5, PECL oci8 >= 1.1.0)
oci_fetch_assoc — Returns the next row from the result data as an associative array
설명
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.
참고
- oci_fetch_array() - Returns the next row from the result data as an associative or numeric array, or both
- oci_fetch_object() - Returns the next row from the result data as an object
- oci_fetch_row() - Returns the next row from the result data as a numeric array
- oci_fetch_all() - Fetches all rows of result data into an array
oci_fetch_assoc
