<?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 => 'es',
  ),
  'this' => 
  array (
    0 => 'oci8.datatypes.php',
    1 => 'Tipos de datos admitidos',
    2 => 'Tipos de datos admitidos',
  ),
  'up' => 
  array (
    0 => 'book.oci8.php',
    1 => 'OCI8',
  ),
  'prev' => 
  array (
    0 => 'oci8.dtrace.php',
    1 => 'OCI8 y rastreo din&aacute;mico de DTrace',
  ),
  'next' => 
  array (
    0 => 'ref.oci8.php',
    1 => 'Funciones de OCI8',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'es',
    '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">Tipos de datos admitidos</h1>

 <table class="doctable table">
  <caption><strong>El controlador admite los siguientes tipos cuando se vinculan parámetros usando la
   función <span class="function"><a href="function.oci-bind-by-name.php" class="function">oci_bind_by_name()</a></span>:</strong></caption>
  
   <thead>
    <tr>
     <th>Tipo</th>
     <th>Referencia</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>Hace referencia a un tipo de colección nativo desde un objeto colección de PHP,
      tales como aquellos creados por <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>Hace referencia a un descriptor nativo, tales como a aquellos creados por
      <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>Hace referencia a un descriptor nativo, tales como a aquellos creados por
      <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>Hace referencia a un descriptor nativo, tales como a aquellos creados por
      <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>Hace referencia a un descriptor nativo, tales como a aquellos creados por
      <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>Hace referencia a un descriptor nativo, tales como a aquellos creados por
      <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>Convierte el parámetro de PHP al tipo long de &#039;C&#039;, y lo vincula a
      ese valor.</td>
    </tr>

    <tr>
     <td><strong><code><a href="oci8.constants.php#constant.sqlt-rset">SQLT_RSET</a></code></strong></td>
     <td>Hace referencia a un gestor de sentencias nativo, tales como a aquellos creados por
      <span class="function"><a href="function.oci-parse.php" class="function">oci_parse()</a></span> o aquellos recuperados desde otras consultas de OCI.</td>
    </tr>

    <tr>
     <td><strong><code><a href="oci8.constants.php#constant.sqlt-bol">SQLT_BOL</a></code></strong></td>
     <td>Vincular el parámetro de PHP a un BOOLEAN de PL/SQL</td>
    </tr>

    <tr>
     <td><strong><code><a href="oci8.constants.php#constant.sqlt-chr">SQLT_CHR</a></code></strong> y cualquier otro tipo</td>
     <td>Convierte el parámetro de PHP al tipo string y lo vincula como
      string.</td>
    </tr>

   </tbody>
  
 </table>


 <table class="doctable table">
  <caption><strong>Los siguientes tipos son admitidos cuando se recuperan columnas desde un conjunto de resultados:</strong></caption>
  
   <thead>
    <tr>
     <th>Tipo</th>
     <th>Referencia</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>Crea un recurso de sentencia de OCI para representar al cursor.</td>
    </tr>

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

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

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

    <tr>
     <td><strong><code>SQLT_BFILE</code></strong></td>
     <td>Crea un objeto LOB.</td>
    </tr>

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

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

    <tr>
     <td>Cualquier otro tipo</td>
     <td>Vinculado como <strong><code><a href="oci8.constants.php#constant.sqlt-chr">SQLT_CHR</a></code></strong>, devuelto como string</td>
    </tr>

   </tbody>
  
 </table>

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