Home > PHP > Function > OCI8 > oci_statement_type()

oci_statement_type()

oci_statement_type - Returns the type of a statement

Syntax

string oci_statement_type (resource $statement)

Arguments

  • statement - A valid OCI8 statement identifier from oci_parse().

Description

Returns a keyword identifying the type of the OCI8 statement.

Version

PHP 5, PECL OCI8 >= 1.1.0

Return value

Returns the type of statement as one of the following strings. Statement type Return String Notes ALTER   BEGIN   CALL Introduced in PHP 5.2.1 (PECL OCI8 1.2.3) CREATE   DECLARE   DELETE   DROP   INSERT   SELECT   UPDATE   UNKNOWN