PHP: Hypertext Preprocessor (original) (raw)

[OCI_ASSOC](oci8.constants.php#constant.oci-assoc)

Used with oci_fetch_all() andoci_fetch_array() to get results as an associative array.

[OCI_BOTH](oci8.constants.php#constant.oci-both)

Used with oci_fetch_all() andoci_fetch_array() to get results as an array with both associative and number indices.

[OCI_COMMIT_ON_SUCCESS](oci8.constants.php#constant.oci-commit-on-success)

Statement execution mode for oci_execute() call. Automatically commit changes when the statement has succeeded.

[OCI_CRED_EXT](oci8.constants.php#constant.oci-cred-ext)

Used with oci_connect() for using Oracles' External or OS authentication.

[OCI_DEFAULT](oci8.constants.php#constant.oci-default)

See [OCI_NO_AUTO_COMMIT](oci8.constants.php#constant.oci-no-auto-commit).

[OCI_DESCRIBE_ONLY](oci8.constants.php#constant.oci-describe-only)

Statement execution mode for oci_execute(). Use this mode if you want meta data such as the column names but don't want to fetch rows from the query.

[OCI_EXACT_FETCH](oci8.constants.php#constant.oci-exact-fetch)

Obsolete. Statement fetch mode. Used when the application knows in advance exactly how many rows it will be fetching. This mode turns prefetching off for Oracle release 8 or later mode. The cursor is canceled after the desired rows are fetched which may result in reduced server-side resource usage.

[OCI_FETCHSTATEMENT_BY_COLUMN](oci8.constants.php#constant.oci-fetchstatement-by-column)

Default mode of oci_fetch_all().

[OCI_FETCHSTATEMENT_BY_ROW](oci8.constants.php#constant.oci-fetchstatement-by-row)

Alternative mode of oci_fetch_all().

OCI_LOB_BUFFER_FREE

Used with OCILob::flush to free buffers used.

[OCI_NO_AUTO_COMMIT](oci8.constants.php#constant.oci-no-auto-commit)

Statement execution mode for oci_execute(). The transaction is not automatically committed when using this mode. For readability in new code, use this value instead of the older, equivalent [OCI_DEFAULT](oci8.constants.php#constant.oci-default) constant.

[OCI_NUM](oci8.constants.php#constant.oci-num)

Used with oci_fetch_all() andoci_fetch_array() to get results as an enumerated array.

[OCI_RETURN_LOBS](oci8.constants.php#constant.oci-return-lobs)

Used with oci_fetch_array() to get the data value of the LOB instead of the descriptor.

[OCI_RETURN_NULLS](oci8.constants.php#constant.oci-return-nulls)

Used with oci_fetch_array() to get empty array elements if the row items value is [null](reserved.constants.php#constant.null).

[OCI_SEEK_CUR](oci8.constants.php#constant.oci-seek-cur)

Used with OCILob::seek to set the seek position.

[OCI_SEEK_END](oci8.constants.php#constant.oci-seek-end)

Used with OCILob::seek to set the seek position.

[OCI_SEEK_SET](oci8.constants.php#constant.oci-seek-set)

Used with OCILob::seek to set the seek position.

[OCI_SYSDATE](oci8.constants.php#constant.oci-sysdate)

Obsolete.

[OCI_SYSDBA](oci8.constants.php#constant.oci-sysdba)

Used with oci_connect() to connect with the SYSDBA privilege. The php.ini settingoci8.privileged_connect should be enabled to use this.

[OCI_SYSOPER](oci8.constants.php#constant.oci-sysoper)

Used with oci_connect() to connect with the SYSOPER privilege. The php.ini settingoci8.privileged_connect should be enabled to use this.

[OCI_TEMP_BLOB](oci8.constants.php#constant.oci-temp-blob)

Used with OCILob::writeTemporary to indicate that a temporary BLOB should be created.

[OCI_TEMP_CLOB](oci8.constants.php#constant.oci-temp-clob)

Used with OCILob::writeTemporary to indicate that a temporary CLOB should be created.