<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.oci8.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'oci8.datatypes.php',
    1 => 'Supported Datatypes',
    2 => 'Supported Datatypes',
  ),
  'up' => 
  array (
    0 => 'book.oci8.php',
    1 => 'OCI8',
  ),
  'prev' => 
  array (
    0 => 'oci8.dtrace.php',
    1 => 'OCI8 and DTrace Dynamic Tracing',
  ),
  'next' => 
  array (
    0 => 'ref.oci8.php',
    1 => 'OCI8 İşlevleri',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/oci8/datatypes.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="oci8.datatypes" class="chapter">
 <h1 class="title">Supported Datatypes</h1>

 <table class="doctable table">
  <caption><strong>The driver supports the following types when binding parameters using the
   <span class="function"><a href="function.oci-bind-by-name.php" class="function">oci_bind_by_name()</a></span> function:</strong></caption>
  
   <thead>
    <tr>
     <th>Type</th>
     <th>Mapping</th>
    </tr>

   </thead>

   <tbody class="tbody">
    <tr>
     <td><strong><code><a href="oci8.constants.php#constant.sqlt-nty">SQLT_NTY</a></code></strong></td>
     <td>Maps a native collection type from a PHP collection object,
      such as those created by <span class="function"><a href="function.oci-new-collection.php" class="function">oci_new_collection()</a></span>.</td>
    </tr>

    <tr>
     <td><strong><code><a href="oci8.constants.php#constant.sqlt-bfilee">SQLT_BFILEE</a></code></strong></td>
     <td>Maps a native descriptor, such as those created by
      <span class="function"><a href="function.oci-new-descriptor.php" class="function">oci_new_descriptor()</a></span>.</td>
    </tr>

    <tr>
     <td><strong><code><a href="oci8.constants.php#constant.sqlt-cfilee">SQLT_CFILEE</a></code></strong></td>
     <td>Maps a native descriptor, such as those created by
      <span class="function"><a href="function.oci-new-descriptor.php" class="function">oci_new_descriptor()</a></span>.</td>
    </tr>

    <tr>
     <td><strong><code><a href="oci8.constants.php#constant.sqlt-clob">SQLT_CLOB</a></code></strong></td>
     <td>Maps a native descriptor, such as those created by
      <span class="function"><a href="function.oci-new-descriptor.php" class="function">oci_new_descriptor()</a></span>.</td>
    </tr>

    <tr>
     <td><strong><code><a href="oci8.constants.php#constant.sqlt-blob">SQLT_BLOB</a></code></strong></td>
     <td>Maps a native descriptor, such as those created by
      <span class="function"><a href="function.oci-new-descriptor.php" class="function">oci_new_descriptor()</a></span>.</td>
    </tr>

    <tr>
     <td><strong><code><a href="oci8.constants.php#constant.sqlt-rdd">SQLT_RDD</a></code></strong></td>
     <td>Maps a native descriptor, such as those created by
      <span class="function"><a href="function.oci-new-descriptor.php" class="function">oci_new_descriptor()</a></span>.</td>
    </tr>

    <tr>
     <td><strong><code><a href="oci8.constants.php#constant.sqlt-num">SQLT_NUM</a></code></strong></td>
     <td>Converts the PHP parameter to a &#039;C&#039; long type, and binds to
      that value.</td>
    </tr>

    <tr>
     <td><strong><code><a href="oci8.constants.php#constant.sqlt-rset">SQLT_RSET</a></code></strong></td>
     <td>Maps a native statement handle, such as those created by
      <span class="function"><a href="function.oci-parse.php" class="function">oci_parse()</a></span> or those retrieved from other OCI queries.</td>
    </tr>

    <tr>
     <td><strong><code><a href="oci8.constants.php#constant.sqlt-bol">SQLT_BOL</a></code></strong></td>
     <td>Bind the PHP parameter to a PL/SQL BOOLEAN</td>
    </tr>

    <tr>
     <td><strong><code><a href="oci8.constants.php#constant.sqlt-chr">SQLT_CHR</a></code></strong> and any other type</td>
     <td>Converts the PHP parameter to a string type and binds as a
      string.</td>
    </tr>

   </tbody>
  
 </table>


 <table class="doctable table">
  <caption><strong>The following types are supported when retrieving columns from a result set:</strong></caption>
  
   <thead>
    <tr>
     <th>Type</th>
     <th>Mapping</th>
    </tr>

   </thead>

   <tbody class="tbody">
    <tr>
     <td><strong><code><a href="oci8.constants.php#constant.sqlt-rset">SQLT_RSET</a></code></strong></td>
     <td>Creates an oci statement resource to represent the cursor.</td>
    </tr>

    <tr>
     <td><strong><code><a href="oci8.constants.php#constant.sqlt-rdd">SQLT_RDD</a></code></strong></td>
     <td>Creates a ROWID object.</td>
    </tr>

    <tr>
     <td><strong><code><a href="oci8.constants.php#constant.sqlt-blob">SQLT_BLOB</a></code></strong></td>
     <td>Creates a LOB object.</td>
    </tr>

    <tr>
     <td><strong><code><a href="oci8.constants.php#constant.sqlt-clob">SQLT_CLOB</a></code></strong></td>
     <td>Creates a LOB object.</td>
    </tr>

    <tr>
     <td><strong><code>SQLT_BFILE</code></strong></td>
     <td>Creates a LOB object.</td>
    </tr>

    <tr>
     <td><strong><code><a href="oci8.constants.php#constant.sqlt-lng">SQLT_LNG</a></code></strong></td>
     <td>Bound as SQLT_CHR, returned as a string</td>
    </tr>

    <tr>
     <td><strong><code><a href="oci8.constants.php#constant.sqlt-lbi">SQLT_LBI</a></code></strong></td>
     <td>Bound as <strong><code><a href="oci8.constants.php#constant.sqlt-bin">SQLT_BIN</a></code></strong>, returned as a string</td>
    </tr>

    <tr>
     <td>Any other type</td>
     <td>Bound as <strong><code><a href="oci8.constants.php#constant.sqlt-chr">SQLT_CHR</a></code></strong>, returned as a string</td>
    </tr>

   </tbody>
  
 </table>

</div>
<?php manual_footer($setup); ?>