oci_server_version
oci_statement_type
OCI8 Functions
PHP Manual

# oci_set_prefetch

(PHP 5, PECL oci8 >= 1.1.0)

oci_set_prefetch — Sets number of rows to be prefetched

### Descripción

bool oci_set_prefetch ( resource `$statement` , int `$rows` )

Sets the number of rows to be prefetched after successful call to oci_execute().

### Lista de parámetros

`statement`

`rows`

### Valores retornados

Devuelve `TRUE` si todo se llevó a cabo correctamente, `FALSE` en caso de fallo.

### Notes

> Note: In PHP versions before 5.0.0 you must use ocisetprefetch() instead. This name still can be used, it was left as alias of oci_set_prefetch() for downwards compatability. This, however, is deprecated and not recommended.

### Ver también

- oci8_.default_prefetch ini option

oci_server_version
oci_statement_type
OCI8 Functions
PHP Manual