Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<oci_server_versionoci_statement_type>
Last updated: Tue, 19 Sep 2006

oci_set_prefetch

(PHP 5)

oci_set_prefetch -- Sets number of rows to be prefetched

Description

bool oci_set_prefetch ( resource statement [, int rows] )

Sets the number of rows to be prefetched after successful call to oci_execute(). The default value for rows is 1.

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.

Returns TRUE on success or FALSE on failure.

See also oci8_.default_prefetch ini option.




<oci_server_versionoci_statement_type>
Last updated: Tue, 19 Sep 2006