oci_statement_type

PHP 5, PHP 7, PHP 8, PECL OCI8 >= 1.1.0
oci_statement_type - Returns the type of a statement
Manual
Code Examples

oci_statement_type( resource$statement ): string|false

Returns a keyword identifying the type of the OCI8 statement.

Parameters

statement

A valid OCI8 statement identifier from oci_parse.

Return Values

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

Returns false on error.

Example of oci_statement_type

Show all examples for oci_statement_type

PHP Version:


Function oci_statement_type:

Oracle OCI8 Functions

Most used PHP functions