Home > PHP > Function > OCI8 > oci_cancel()

oci_cancel()

oci_cancel - Cancels reading from cursor

Syntax

bool oci_cancel (resource $statement)

Arguments

  • statement - An OCI statement.

Description

Invalidates a cursor, freeing all associated resources and cancels the ability to read from it.

Version

PHP 5, PECL OCI8 >= 1.1.0

Return value

Returns TRUE on success or FALSE on failure.