<?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 => 'ru',
  ),
  'this' => 
  array (
    0 => 'oci8.datatypes.php',
    1 => 'Поддерживаемые типы данных',
    2 => 'Поддерживаемые типы данных',
  ),
  'up' => 
  array (
    0 => 'book.oci8.php',
    1 => 'OCI8',
  ),
  'prev' => 
  array (
    0 => 'oci8.dtrace.php',
    1 => 'OCI8 и динамическая трассировка DTrace',
  ),
  'next' => 
  array (
    0 => 'ref.oci8.php',
    1 => 'OCI8 Функции',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ru',
    '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">Поддерживаемые типы данных</h1>

 <table class="doctable table">
  <caption><strong>Данный драйвер поддерживает следующие типы данных при использовании
   функции <span class="function"><a href="function.oci-bind-by-name.php" class="function">oci_bind_by_name()</a></span> для связки параметров:</strong></caption>
  
   <thead>
    <tr>
     <th>Тип</th>
     <th>Отображение</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>Связывает оригинальный тип коллекции из объекта коллекции
      PHP, например, создаваемых функцией <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>Связывает оригинальный дескриптор, например, полученный
      с помощью функции <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>Связывает оригинальный дескриптор, например, полученный
      с помощью функции <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>Связывает оригинальный дескриптор, например, полученный
      с помощью функции <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>Связывает оригинальный дескриптор, например, полученный
      с помощью функции <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>Связывает оригинальный дескриптор, например, полученный
      с помощью функции <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>Конвертирует параметр PHP в тип long языка &#039;C&#039;,
      и привязывает к этому значению.</td>
    </tr>

    <tr>
     <td><strong><code><a href="oci8.constants.php#constant.sqlt-rset">SQLT_RSET</a></code></strong></td>
     <td>Связывает оригинальный дескриптор выражения, например, полученный
      из функции <span class="function"><a href="function.oci-parse.php" class="function">oci_parse()</a></span> или из других запросов
      OCI.</td>
    </tr>

    <tr>
     <td><strong><code><a href="oci8.constants.php#constant.sqlt-bol">SQLT_BOL</a></code></strong></td>
     <td>Связывает PHP параметр с PL/SQL BOOLEAN</td>
    </tr>

    <tr>
     <td><strong><code><a href="oci8.constants.php#constant.sqlt-chr">SQLT_CHR</a></code></strong> и любой другой тип</td>
     <td>Преобразовывает параметр PHP к строковому типу и привязывает его
      в виде строки.</td>
    </tr>

   </tbody>
  
 </table>


 <table class="doctable table">
  <caption><strong>Поддерживаются следующие типы при извлечении столбцов из набора данных:</strong></caption>
  
   <thead>
    <tr>
     <th>Тип</th>
     <th>Отображение</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>Создаёт ресурс выражения oci для представления курсора.</td>
    </tr>

    <tr>
     <td><strong><code><a href="oci8.constants.php#constant.sqlt-rdd">SQLT_RDD</a></code></strong></td>
     <td>Создаёт объект ROWID.</td>
    </tr>

    <tr>
     <td><strong><code><a href="oci8.constants.php#constant.sqlt-blob">SQLT_BLOB</a></code></strong></td>
     <td>Создаёт объект LOB.</td>
    </tr>

    <tr>
     <td><strong><code><a href="oci8.constants.php#constant.sqlt-clob">SQLT_CLOB</a></code></strong></td>
     <td>Создаёт объект LOB.</td>
    </tr>

    <tr>
     <td><strong><code>SQLT_BFILE</code></strong></td>
     <td>Создаёт объект LOB.</td>
    </tr>

    <tr>
     <td><strong><code><a href="oci8.constants.php#constant.sqlt-lng">SQLT_LNG</a></code></strong></td>
     <td>Связывает в виде SQLT_CHR, возвращается в виде строки</td>
    </tr>

    <tr>
     <td><strong><code><a href="oci8.constants.php#constant.sqlt-lbi">SQLT_LBI</a></code></strong></td>
     <td>Связывает в виде <strong><code><a href="oci8.constants.php#constant.sqlt-bin">SQLT_BIN</a></code></strong>, возвращается в виде строки</td>
    </tr>

    <tr>
     <td>Любой другой тип</td>
     <td>Связывает в виде <strong><code><a href="oci8.constants.php#constant.sqlt-chr">SQLT_CHR</a></code></strong>, возвращается в виде строки</td>
    </tr>

   </tbody>
  
 </table>

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