oci_field_type_raw

PHP 5, PHP 7, PHP 8, PECL OCI8 >= 1.1.0
oci_field_type_raw - Tell the raw Oracle data type of the field
Manual
Code Examples

oci_field_type_raw( resource$statement, string|int$column ): int|false

Returns Oracle's raw "SQLT" data type of the column.

If you want a field's type name, then use oci_field_type instead.

Parameters

statement

A valid OCI statement identifier.

column

Can be the field's index (1-based) or name.

Return Values

Returns Oracle's raw data type as a number, or false on failure

Notes

Note:

In PHP versions before 5.0.0 you must use ocicolumntyperaw instead. This name still can be used, it was left as alias of oci_field_type_raw for downwards compatability. This, however, is deprecated and not recommended.

Example of oci_field_type_raw

Show all examples for oci_field_type_raw

PHP Version:


Function oci_field_type_raw:

Oracle OCI8 Functions

Most used PHP functions