WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDES  |  PHP CLASSES  |  CODE SEARCH  |  ARTICLES SEARCH  |  PHP FORUMS  |  PHP MANUAL  |  PHP FUNCTIONS LIST  |  WEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Submit Your Code
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
WeberDev's Monthly code contest PHP Code Contest
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Index
PHP Web Logs (BLogs)
Web Development Resources
Web Development Content
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
Forex Trading Online forex trading platform
Supported Datatypes

Supported Datatypes

The driver supports the following types when binding parameters using 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_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 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