Supported Datatypes

The driver supports the following types when binding parameters using the oci_bind_by_name() function:
Type Mapping
SQLT_NTY Maps a native collection type from a PHP collection object, such as those created by oci_new_collection().
SQLT_BFILEE Maps a native descriptor, such as those created by oci_new_descriptor().
SQLT_CFILEE Maps a native descriptor, such as those created by oci_new_descriptor().
SQLT_CLOB Maps a native descriptor, such as those created by oci_new_descriptor().
SQLT_BLOB Maps a native descriptor, such as those created by oci_new_descriptor().
SQLT_RDD Maps a native descriptor, such as those created by oci_new_descriptor().
SQLT_NUM Converts the PHP parameter to a 'C' long type, and binds to that value.
SQLT_RSET Maps a native statement handle, such as those created by oci_parse() or those retrieved from other OCI queries.
SQLT_BOL Bind the PHP parameter to a PL/SQL BOOLEAN
SQLT_CHR and any other type Converts the PHP parameter to a string type and binds as a string.
The following types are supported when retrieving columns from a result set:
Type Mapping
SQLT_RSET Creates an oci statement resource to represent the cursor.
SQLT_RDD Creates a ROWID object.
SQLT_BLOB Creates a LOB object.
SQLT_CLOB Creates a LOB object.
SQLT_BFILE Creates a LOB object.
SQLT_LNG Bound as SQLT_CHR, returned as a string
SQLT_LBI Bound as SQLT_BIN, returned as a string
Any other type Bound as SQLT_CHR, returned as a string

Here you can write a comment


Please enter at least 10 characters.
Loading... Please wait.
* Pflichtangabe
There are no comments available yet.

PHP cURL Tutorial: Using cURL to Make HTTP Requests

cURL is a powerful PHP extension that allows you to communicate with different servers using various protocols, including HTTP, HTTPS, FTP, and more. ...

TheMax

Autor : TheMax
Category: PHP-Tutorials

Midjourney Tutorial - Instructions for beginners

There is an informative video about Midjourney, the tool for creating digital images using artificial intelligence, entitled "Midjourney tutorial in German - instructions for beginners" ...

Mike94

Autor : Mike94
Category: KI Tutorials

Basics of views in MySQL

Views in a MySQL database offer the option of creating a virtual table based on the result of an SQL query. This virtual table can be queried like a normal table without changing the underlying data. ...

admin

Autor : admin
Category: mySQL-Tutorials

Publish a tutorial

Share your knowledge with other developers worldwide

Share your knowledge with other developers worldwide

You are a professional in your field and want to share your knowledge, then sign up now and share it with our PHP community

learn more

Publish a tutorial