<?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.constants.php',
    1 => 'Предопределённые константы',
    2 => 'Предопределённые константы',
  ),
  'up' => 
  array (
    0 => 'book.oci8.php',
    1 => 'OCI8',
  ),
  'prev' => 
  array (
    0 => 'oci8.configuration.php',
    1 => 'Настройка во время выполнения',
  ),
  'next' => 
  array (
    0 => 'oci8.examples.php',
    1 => 'Примеры',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ru',
    'path' => 'reference/oci8/constants.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="oci8.constants" class="appendix">
 <h1 class="title">Предопределённые константы</h1>

 
<p class="simpara">
 Следующие константы определяются модулем
 и доступны, только если модуль либо собрали в PHP,
 либо динамически загрузили при выполнении кода.
</p>
 <table class="doctable table">
   <caption><strong>Функции и методы модуля OCI8</strong></caption>
   
     <thead>
       <tr>
         <th>Константа</th>
         <th>Описание</th>
       </tr>

     </thead>

     <tbody class="tbody">
       <tr id="constant.oci-assoc">
         <td><strong><code><a href="oci8.constants.php#constant.oci-assoc">OCI_ASSOC</a></code></strong></td>
         <td>
          Флаг передают в функции <span class="function"><a href="function.oci-fetch-all.php" class="function">oci_fetch_all()</a></span>
          и <span class="function"><a href="function.oci-fetch-array.php" class="function">oci_fetch_array()</a></span>, чтобы получить результаты
          в виде ассоциативного массива.
         </td>
       </tr>

       <tr id="constant.oci-both">
         <td><strong><code><a href="oci8.constants.php#constant.oci-both">OCI_BOTH</a></code></strong></td>
         <td>
          Флаг передают в функции <span class="function"><a href="function.oci-fetch-all.php" class="function">oci_fetch_all()</a></span>
          и <span class="function"><a href="function.oci-fetch-array.php" class="function">oci_fetch_array()</a></span>, чтобы получить результаты
          в виде массива с ассоциативными и числовыми индексами.
         </td>
       </tr>

       <tr id="constant.oci-commit-on-success">
         <td><strong><code><a href="oci8.constants.php#constant.oci-commit-on-success">OCI_COMMIT_ON_SUCCESS</a></code></strong></td>
         <td>
          Режим выполнения запросов для функции <span class="function"><a href="function.oci-execute.php" class="function">oci_execute()</a></span>.
          Автоматически фиксирует изменения в случае успешного выполнения
          запроса.
         </td>
       </tr>

       <tr id="constant.oci-cred-ext">
         <td><strong><code><a href="oci8.constants.php#constant.oci-cred-ext">OCI_CRED_EXT</a></code></strong></td>
         <td>
          Флаг передают в функцию <span class="function"><a href="function.oci-connect.php" class="function">oci_connect()</a></span> для выбора
          режима внешней или системной аутентификации.
         </td>
       </tr>

       <tr id="constant.oci-default">
         <td><strong><code><a href="oci8.constants.php#constant.oci-default">OCI_DEFAULT</a></code></strong></td>
         <td>
          Смотрите описание константы <strong><code><a href="oci8.constants.php#constant.oci-no-auto-commit">OCI_NO_AUTO_COMMIT</a></code></strong>.
         </td>
       </tr>

       <tr id="constant.oci-describe-only">
         <td><strong><code><a href="oci8.constants.php#constant.oci-describe-only">OCI_DESCRIBE_ONLY</a></code></strong></td>
         <td>
          Режим выполнения запросов для функции <span class="function"><a href="function.oci-execute.php" class="function">oci_execute()</a></span>.
          Этот режим устанавливают, когда необходимо
          получить данные о выполнении запроса, а не выполнить сам запрос.
         </td>
       </tr>

       <tr id="constant.oci-exact-fetch">
         <td><strong><code><a href="oci8.constants.php#constant.oci-exact-fetch">OCI_EXACT_FETCH</a></code></strong></td>
         <td>
          Константа устарела. Режим получения результатов запроса. Этот режим устанавливают,
          если приложение заранее знает, сколько строк вернёт
          результат. БД Oracle 8 и более поздние версии не выбирают
          результаты с упреждением в этом режиме, а курсоры уничтожаются
          автоматически после выборки ожидаемого количества строк, что
          может уменьшить требования сервера к ресурсам.
         </td>
       </tr>

       <tr id="constant.oci-fetchstatement-by-column">
         <td><strong><code><a href="oci8.constants.php#constant.oci-fetchstatement-by-column">OCI_FETCHSTATEMENT_BY_COLUMN</a></code></strong></td>
         <td>
          Режим <span class="function"><a href="function.oci-fetch-all.php" class="function">oci_fetch_all()</a></span> по умолчанию.
         </td>
       </tr>

       <tr id="constant.oci-fetchstatement-by-row">
         <td><strong><code><a href="oci8.constants.php#constant.oci-fetchstatement-by-row">OCI_FETCHSTATEMENT_BY_ROW</a></code></strong></td>
         <td>
          Альтернативный режим функции <span class="function"><a href="function.oci-fetch-all.php" class="function">oci_fetch_all()</a></span>.
         </td>
       </tr>

       <tr id="constant.ocilob-buffer-free">
         <td><strong><code>OCI_LOB_BUFFER_FREE</code></strong></td>
         <td>
          Флаг передают в метод <a href="ocilob.flush.php" class="xref">OCILob::flush</a> для перевода в режим освобождения
          буферов.
         </td>
       </tr>

       <tr id="constant.oci-no-auto-commit">
         <td><strong><code><a href="oci8.constants.php#constant.oci-no-auto-commit">OCI_NO_AUTO_COMMIT</a></code></strong></td>
         <td>
          Режим выполнения запросов для функции <span class="function"><a href="function.oci-execute.php" class="function">oci_execute()</a></span>.
          В этом режиме транзакция не завершается
          автоматически оператором COMMIT. Для повышения читаемости
          в новом коде вместо старой эквивалентной константы <strong><code><a href="oci8.constants.php#constant.oci-default">OCI_DEFAULT</a></code></strong>
          указывают эту константу.
         </td>
       </tr>

       <tr id="constant.oci-num">
         <td><strong><code><a href="oci8.constants.php#constant.oci-num">OCI_NUM</a></code></strong></td>
         <td>
          Флаг передают в функции <span class="function"><a href="function.oci-fetch-all.php" class="function">oci_fetch_all()</a></span>
          и <span class="function"><a href="function.oci-fetch-array.php" class="function">oci_fetch_array()</a></span>, чтобы получить результаты
          в виде перечислимого массива — с числовыми индексами.
         </td>
       </tr>

       <tr id="constant.oci-return-lobs">
         <td><strong><code><a href="oci8.constants.php#constant.oci-return-lobs">OCI_RETURN_LOBS</a></code></strong></td>
         <td>
          Флаг передают в функцию <span class="function"><a href="function.oci-fetch-array.php" class="function">oci_fetch_array()</a></span> для получения
          значения данных объекта LOB вместо дескриптора.
         </td>
       </tr>

       <tr id="constant.oci-return-nulls">
         <td><strong><code><a href="oci8.constants.php#constant.oci-return-nulls">OCI_RETURN_NULLS</a></code></strong></td>
         <td>
          Флаг передают в функцию <span class="function"><a href="function.oci-fetch-array.php" class="function">oci_fetch_array()</a></span>, чтобы получить
          пустые элементы массива, если значение элемента строки
          равно <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong>.
         </td>
       </tr>

       <tr id="constant.oci-seek-cur">
         <td><strong><code><a href="oci8.constants.php#constant.oci-seek-cur">OCI_SEEK_CUR</a></code></strong></td>
         <td>
          Флаг передают в метод <a href="ocilob.seek.php" class="xref">OCILob::seek</a>, чтобы установить позицию для перемещения.
         </td>
       </tr>

       <tr id="constant.oci-seek-end">
         <td><strong><code><a href="oci8.constants.php#constant.oci-seek-end">OCI_SEEK_END</a></code></strong></td>
         <td>
          Флаг передают в метод <a href="ocilob.seek.php" class="xref">OCILob::seek</a>, чтобы установить позицию для перемещения.
         </td>
       </tr>

       <tr id="constant.oci-seek-set">
         <td><strong><code><a href="oci8.constants.php#constant.oci-seek-set">OCI_SEEK_SET</a></code></strong></td>
         <td>
          Флаг передают в метод <a href="ocilob.seek.php" class="xref">OCILob::seek</a>, чтобы установить позицию для перемещения.
         </td>
       </tr>

       <tr id="constant.oci-sysdate">
         <td><strong><code><a href="oci8.constants.php#constant.oci-sysdate">OCI_SYSDATE</a></code></strong></td>
         <td>
          Устарела.
         </td>
       </tr>

       <tr id="constant.oci-sysdba">
         <td><strong><code><a href="oci8.constants.php#constant.oci-sysdba">OCI_SYSDBA</a></code></strong></td>
         <td>
          Флаг передают в функцию <span class="function"><a href="function.oci-connect.php" class="function">oci_connect()</a></span> для соединения
          с привилегиями SYSOPER. В файле <var class="filename">php.ini</var> потребуется включить
          опцию <a href="oci8.configuration.php#ini.oci8.privileged-connect" class="link">oci8.privileged_connect</a>.
         </td>
       </tr>

       <tr id="constant.oci-sysoper">
         <td><strong><code><a href="oci8.constants.php#constant.oci-sysoper">OCI_SYSOPER</a></code></strong></td>
         <td>
          Флаг передают в функцию <span class="function"><a href="function.oci-connect.php" class="function">oci_connect()</a></span> для соединения
          с привилегиями SYSOPER. В файле <var class="filename">php.ini</var> потребуется включить
          опцию <a href="oci8.configuration.php#ini.oci8.privileged-connect" class="link">oci8.privileged_connect</a>.
         </td>
       </tr>

       <tr id="constant.oci-temp-blob">
         <td><strong><code><a href="oci8.constants.php#constant.oci-temp-blob">OCI_TEMP_BLOB</a></code></strong></td>
         <td>
          Флаг передают в метод <a href="ocilob.writetemporary.php" class="xref">OCILob::writeTemporary</a>, чтобы указать,
          что требуется создать временный BLOB-объект.
         </td>
       </tr>

       <tr id="constant.oci-temp-clob">
         <td><strong><code><a href="oci8.constants.php#constant.oci-temp-clob">OCI_TEMP_CLOB</a></code></strong></td>
         <td>
          Флаг передают в метод <a href="ocilob.writetemporary.php" class="xref">OCILob::writeTemporary</a>, чтобы указать,
          что требуется создать временный CLOB-объект.
         </td>
       </tr>

     </tbody>
   
 </table>

 <table class="doctable table">
   <caption><strong>OCI8 привязка переменных и определение типов</strong></caption>
   
     <thead>
       <tr>
         <th>Константа</th>
         <th>Описание</th>
       </tr>

     </thead>

     <tbody class="tbody">
       <tr id="constant.oci-b-bfile">
         <td><strong><code><a href="oci8.constants.php#constant.oci-b-bfile">OCI_B_BFILE</a></code></strong></td>
         <td>
          Флаг передают в функцию <span class="function"><a href="function.oci-bind-by-name.php" class="function">oci_bind_by_name()</a></span>
          для привязки переменных с типом BFILE.
         </td>
       </tr>

       <tr id="constant.oci-b-bin">
         <td><strong><code><a href="oci8.constants.php#constant.oci-b-bin">OCI_B_BIN</a></code></strong></td>
         <td>
          Флаг передают в функцию <span class="function"><a href="function.oci-bind-by-name.php" class="function">oci_bind_by_name()</a></span>
          для привязки необработанных данных.
         </td>
       </tr>

       <tr id="constant.oci-b-blob">
         <td><strong><code><a href="oci8.constants.php#constant.oci-b-blob">OCI_B_BLOB</a></code></strong></td>
         <td>
          Флаг передают в функцию <span class="function"><a href="function.oci-bind-by-name.php" class="function">oci_bind_by_name()</a></span>
          для привязки переменных с типом BLOB.
         </td>
       </tr>

       <tr id="constant.oci-b-bol">
         <td><strong><code><a href="oci8.constants.php#constant.oci-b-bol">OCI_B_BOL</a></code></strong></td>
         <td>
          Флаг передают в функцию <span class="function"><a href="function.oci-bind-by-name.php" class="function">oci_bind_by_name()</a></span>
          для привязки BOOLEAN-переменной PL/SQL-запроса.
         </td>
       </tr>

       <tr id="constant.oci-b-cfilee">
         <td><strong><code><a href="oci8.constants.php#constant.oci-b-cfilee">OCI_B_CFILEE</a></code></strong></td>
         <td>
          Флаг передают в функцию <span class="function"><a href="function.oci-bind-by-name.php" class="function">oci_bind_by_name()</a></span>
          для привязки переменных с типом CFILE.
         </td>
       </tr>

       <tr id="constant.oci-b-clob">
         <td><strong><code><a href="oci8.constants.php#constant.oci-b-clob">OCI_B_CLOB</a></code></strong></td>
         <td>
          Флаг передают в функцию <span class="function"><a href="function.oci-bind-by-name.php" class="function">oci_bind_by_name()</a></span>
          для привязки переменных с типом CLOB.
         </td>
       </tr>

       <tr id="constant.oci-b-cursor">
         <td><strong><code><a href="oci8.constants.php#constant.oci-b-cursor">OCI_B_CURSOR</a></code></strong></td>
         <td>
          Флаг передают в функцию <span class="function"><a href="function.oci-bind-by-name.php" class="function">oci_bind_by_name()</a></span>
          для привязки курсоров, которые ранее получили
          из функции <span class="function"><a href="function.oci-new-descriptor.php" class="function">oci_new_descriptor()</a></span>.
         </td>
       </tr>

       <tr id="constant.oci-b-int">
         <td><strong><code><a href="oci8.constants.php#constant.oci-b-int">OCI_B_INT</a></code></strong></td>
         <td>
          Флаг передают в функцию <span class="function"><a href="function.oci-bind-array-by-name.php" class="function">oci_bind_array_by_name()</a></span>
          для привязки массивов элементов с типом INTEGER.
         </td>
       </tr>

       <tr id="constant.oci-b-nty">
         <td><strong><code><a href="oci8.constants.php#constant.oci-b-nty">OCI_B_NTY</a></code></strong></td>
         <td>
          Флаг передают в функцию <span class="function"><a href="function.oci-bind-by-name.php" class="function">oci_bind_by_name()</a></span>
          для привязки именованных типов данных.
         </td>
       </tr>

       <tr id="constant.oci-b-num">
         <td><strong><code><a href="oci8.constants.php#constant.oci-b-num">OCI_B_NUM</a></code></strong></td>
         <td>
          Флаг передают в функцию <span class="function"><a href="function.oci-bind-array-by-name.php" class="function">oci_bind_array_by_name()</a></span>
          для привязки массивов элементов с типом NUMBER.
         </td>
       </tr>

       <tr id="constant.oci-b-rowid">
         <td><strong><code><a href="oci8.constants.php#constant.oci-b-rowid">OCI_B_ROWID</a></code></strong></td>
         <td>
          Флаг передают в функцию <span class="function"><a href="function.oci-bind-by-name.php" class="function">oci_bind_by_name()</a></span>
          для привязки переменных с типом ROWID.
         </td>
       </tr>

       <tr id="constant.sqlt-afc">
         <td><strong><code><a href="oci8.constants.php#constant.sqlt-afc">SQLT_AFC</a></code></strong></td>
         <td>
          Флаг передают в функцию <span class="function"><a href="function.oci-bind-array-by-name.php" class="function">oci_bind_array_by_name()</a></span>
          для привязки массивов элементов с типом CHAR.
         </td>
       </tr>

       <tr id="constant.sqlt-avc">
         <td><strong><code><a href="oci8.constants.php#constant.sqlt-avc">SQLT_AVC</a></code></strong></td>
         <td>
          Флаг передают в функцию <span class="function"><a href="function.oci-bind-array-by-name.php" class="function">oci_bind_array_by_name()</a></span>
          для привязки массивов элементов с типом VARCHAR2.
         </td>
       </tr>

       <tr id="constant.sqlt-bdouble">
         <td><strong><code><a href="oci8.constants.php#constant.sqlt-bdouble">SQLT_BDOUBLE</a></code></strong></td>
         <td>
          Не поддерживается.
         </td>
       </tr>

       <tr id="constant.sqlt-bfilee">
         <td><strong><code><a href="oci8.constants.php#constant.sqlt-bfilee">SQLT_BFILEE</a></code></strong></td>
         <td>
          То же, что и <strong><code><a href="oci8.constants.php#constant.oci-b-bfile">OCI_B_BFILE</a></code></strong>.
         </td>
       </tr>

       <tr id="constant.sqlt-bfloat">
         <td><strong><code><a href="oci8.constants.php#constant.sqlt-bfloat">SQLT_BFLOAT</a></code></strong></td>
         <td>
          Не поддерживается.
         </td>
       </tr>

       <tr id="constant.sqlt-bin">
         <td><strong><code><a href="oci8.constants.php#constant.sqlt-bin">SQLT_BIN</a></code></strong></td>
         <td>
          То же, что и <strong><code><a href="oci8.constants.php#constant.oci-b-bin">OCI_B_BIN</a></code></strong>.
         </td>
       </tr>

       <tr id="constant.sqlt-blob">
         <td><strong><code><a href="oci8.constants.php#constant.sqlt-blob">SQLT_BLOB</a></code></strong></td>
         <td>
          То же, что и <strong><code><a href="oci8.constants.php#constant.oci-b-blob">OCI_B_BLOB</a></code></strong>.
         </td>
       </tr>

       <tr id="constant.sqlt-bol">
         <td><strong><code><a href="oci8.constants.php#constant.sqlt-bol">SQLT_BOL</a></code></strong></td>
         <td>
          То же, что и <strong><code><a href="oci8.constants.php#constant.oci-b-bol">OCI_B_BOL</a></code></strong>.
         </td>
       </tr>

       <tr id="constant.sqlt-cfilee">
         <td><strong><code><a href="oci8.constants.php#constant.sqlt-cfilee">SQLT_CFILEE</a></code></strong></td>
         <td>
          То же, что и <strong><code><a href="oci8.constants.php#constant.oci-b-cfilee">OCI_B_CFILEE</a></code></strong>.
         </td>
       </tr>

       <tr id="constant.sqlt-chr">
         <td><strong><code><a href="oci8.constants.php#constant.sqlt-chr">SQLT_CHR</a></code></strong></td>
         <td>
          Флаг передают в функцию <span class="function"><a href="function.oci-bind-array-by-name.php" class="function">oci_bind_array_by_name()</a></span>
          для привязки массивов элементов с типом VARCHAR2.
          Константа также работает с функцией <span class="function"><a href="function.oci-bind-by-name.php" class="function">oci_bind_by_name()</a></span>.
         </td>
       </tr>

       <tr id="constant.sqlt-clob">
         <td><strong><code><a href="oci8.constants.php#constant.sqlt-clob">SQLT_CLOB</a></code></strong></td>
         <td>
          То же, что и <strong><code><a href="oci8.constants.php#constant.oci-b-clob">OCI_B_CLOB</a></code></strong>.
         </td>
       </tr>

       <tr id="constant.sqlt-flt">
         <td><strong><code><a href="oci8.constants.php#constant.sqlt-flt">SQLT_FLT</a></code></strong></td>
         <td>
          Флаг передают в функцию <span class="function"><a href="function.oci-bind-array-by-name.php" class="function">oci_bind_array_by_name()</a></span>
          для привязки массивов элементов с типом FLOAT.
         </td>
       </tr>

       <tr id="constant.sqlt-int">
         <td><strong><code><a href="oci8.constants.php#constant.sqlt-int">SQLT_INT</a></code></strong></td>
         <td>
          То же, что и <strong><code><a href="oci8.constants.php#constant.oci-b-int">OCI_B_INT</a></code></strong>.
         </td>
       </tr>

       <tr id="constant.sqlt-lbi">
         <td><strong><code><a href="oci8.constants.php#constant.sqlt-lbi">SQLT_LBI</a></code></strong></td>
         <td>
          Флаг передают в функцию <span class="function"><a href="function.oci-bind-by-name.php" class="function">oci_bind_by_name()</a></span>
          для привязки переменных с типом LONG RAW.
         </td>
       </tr>

       <tr id="constant.sqlt-lng">
         <td><strong><code><a href="oci8.constants.php#constant.sqlt-lng">SQLT_LNG</a></code></strong></td>
         <td>
          Флаг передают в функцию <span class="function"><a href="function.oci-bind-by-name.php" class="function">oci_bind_by_name()</a></span>
          для привязки переменных с типом LONG.
         </td>
       </tr>

       <tr id="constant.sqlt-lvc">
         <td><strong><code><a href="oci8.constants.php#constant.sqlt-lvc">SQLT_LVC</a></code></strong></td>
         <td>
          Флаг передают в функцию <span class="function"><a href="function.oci-bind-array-by-name.php" class="function">oci_bind_array_by_name()</a></span>
          для привязки массивов элементов с типом LONG VARCHAR.
         </td>
       </tr>

       <tr id="constant.sqlt-nty">
         <td><strong><code><a href="oci8.constants.php#constant.sqlt-nty">SQLT_NTY</a></code></strong></td>
         <td>
          То же, что и <strong><code><a href="oci8.constants.php#constant.oci-b-nty">OCI_B_NTY</a></code></strong>.
         </td>
       </tr>

       <tr id="constant.sqlt-num">
         <td><strong><code><a href="oci8.constants.php#constant.sqlt-num">SQLT_NUM</a></code></strong></td>
         <td>
          То же, что и <strong><code><a href="oci8.constants.php#constant.oci-b-num">OCI_B_NUM</a></code></strong>.
         </td>
       </tr>

       <tr id="constant.sqlt-odt">
         <td><strong><code><a href="oci8.constants.php#constant.sqlt-odt">SQLT_ODT</a></code></strong></td>
         <td>
          Флаг передают в функцию <span class="function"><a href="function.oci-bind-array-by-name.php" class="function">oci_bind_array_by_name()</a></span>
          для привязки массивов элементов с типом LONG.
         </td>
       </tr>

       <tr id="constant.sqlt-rdd">
         <td><strong><code><a href="oci8.constants.php#constant.sqlt-rdd">SQLT_RDD</a></code></strong></td>
         <td>
          То же, что и <strong><code><a href="oci8.constants.php#constant.oci-b-rowid">OCI_B_ROWID</a></code></strong>.
         </td>
       </tr>

       <tr id="constant.sqlt-rset">
         <td><strong><code><a href="oci8.constants.php#constant.sqlt-rset">SQLT_RSET</a></code></strong></td>
         <td>
          То же, что и <strong><code><a href="oci8.constants.php#constant.oci-b-cursor">OCI_B_CURSOR</a></code></strong>.
         </td>
       </tr>

       <tr id="constant.sqlt-str">
         <td><strong><code><a href="oci8.constants.php#constant.sqlt-str">SQLT_STR</a></code></strong></td>
         <td>
          Флаг передают в функцию <span class="function"><a href="function.oci-bind-array-by-name.php" class="function">oci_bind_array_by_name()</a></span>
          для привязки массивов элементов с типом STRING.
         </td>
       </tr>

       <tr id="constant.sqlt-uin">
         <td><strong><code><a href="oci8.constants.php#constant.sqlt-uin">SQLT_UIN</a></code></strong></td>
         <td>
          Не поддерживается.
         </td>
       </tr>

       <tr id="constant.sqlt-vcs">
         <td><strong><code><a href="oci8.constants.php#constant.sqlt-vcs">SQLT_VCS</a></code></strong></td>
         <td>
          Флаг передают в функцию <span class="function"><a href="function.oci-bind-array-by-name.php" class="function">oci_bind_array_by_name()</a></span>
          для привязки массивов элементов с типом VARCHAR.
         </td>
       </tr>

     </tbody>
   
 </table>

 <table class="doctable table">
   <caption><strong>Типы дескрипторов OCI8</strong></caption>
   
     <thead>
       <tr>
         <th>Константа</th>
         <th>Описание</th>
       </tr>

     </thead>

     <tbody class="tbody">
       <tr id="constant.oci-dtype-file">
         <td><strong><code><a href="oci8.constants.php#constant.oci-dtype-file">OCI_DTYPE_FILE</a></code></strong></td>
         <td>
          Флаг указывает функции <span class="function"><a href="function.oci-new-descriptor.php" class="function">oci_new_descriptor()</a></span>,
          что требуется инициализация дескриптора с типом FILE.
         </td>
       </tr>

       <tr id="constant.oci-dtype-lob">
         <td><strong><code><a href="oci8.constants.php#constant.oci-dtype-lob">OCI_DTYPE_LOB</a></code></strong></td>
         <td>
          Флаг указывает функции <span class="function"><a href="function.oci-new-descriptor.php" class="function">oci_new_descriptor()</a></span>,
          что требуется инициализация дескриптора с типом LOB.
         </td>
       </tr>

       <tr id="constant.oci-dtype-rowid">
         <td><strong><code><a href="oci8.constants.php#constant.oci-dtype-rowid">OCI_DTYPE_ROWID</a></code></strong></td>
         <td>
          Флаг указывает функции <span class="function"><a href="function.oci-new-descriptor.php" class="function">oci_new_descriptor()</a></span>,
          что требуется инициализация дескриптора с типом ROWID.
         </td>
       </tr>

       <tr id="constant.oci-d-file">
         <td><strong><code><a href="oci8.constants.php#constant.oci-d-file">OCI_D_FILE</a></code></strong></td>
         <td>
          То же, что и <strong><code><a href="oci8.constants.php#constant.oci-dtype-file">OCI_DTYPE_FILE</a></code></strong>.
         </td>
       </tr>

       <tr id="constant.oci-d-lob">
         <td><strong><code><a href="oci8.constants.php#constant.oci-d-lob">OCI_D_LOB</a></code></strong></td>
         <td>
          То же, что и <strong><code><a href="oci8.constants.php#constant.oci-dtype-lob">OCI_DTYPE_LOB</a></code></strong>.
         </td>
       </tr>

       <tr id="constant.oci-d-rowid">
         <td><strong><code><a href="oci8.constants.php#constant.oci-d-rowid">OCI_D_ROWID</a></code></strong></td>
         <td>
          То же, что и <strong><code><a href="oci8.constants.php#constant.oci-dtype-rowid">OCI_DTYPE_ROWID</a></code></strong>.
         </td>
       </tr>

     </tbody>
   
 </table>

  <table class="doctable table">
       <tr>
        <th>Константы</th>
        <th>Описание</th>
       </tr>
  <strong class="title">Константы прозрачной для приложений обработки отказов (TAF) модуля OCI8</strong>
  <tr>
   <td id="constant.oci-fo-abort">
    <strong><code><a href="oci8.constants.php#constant.oci-fo-abort">OCI_FO_ABORT</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </td>
   <td>
    <span class="simpara">
     Обработка отказа не удалась и невозможно повторить попытку.
    </span>
   </td>
  </tr>
  <tr>
   <td id="constant.oci-fo-begin">
    <strong><code><a href="oci8.constants.php#constant.oci-fo-begin">OCI_FO_BEGIN</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </td>
   <td>
    <span class="simpara">
     Драйвер механизма отказоустойчивости обнаружил потерянное соединение и начал аварийное переключение.
    </span>
   </td>
  </tr>
  <tr>
   <td id="constant.oci-fo-end">
    <strong><code><a href="oci8.constants.php#constant.oci-fo-end">OCI_FO_END</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </td>
   <td>
    <span class="simpara">
     Обработка отказа завершилась успешно.
    </span>
   </td>
  </tr>
  <tr>
   <td id="constant.oci-fo-error">
    <strong><code><a href="oci8.constants.php#constant.oci-fo-error">OCI_FO_ERROR</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </td>
   <td>
    <span class="simpara">
     Переключение при отказе не удалось, но это удобный для приложения случай
     обработать ошибку и вернуть флаг <strong><code><a href="oci8.constants.php#constant.oci-fo-retry">OCI_FO_RETRY</a></code></strong>, чтобы повторить попытку обработки отказа.
    </span>
   </td>
  </tr>
  <tr>
   <td id="constant.oci-fo-none">
    <strong><code><a href="oci8.constants.php#constant.oci-fo-none">OCI_FO_NONE</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </td>
   <td>
    <span class="simpara">
     Пользователь не запросил тип аварийного переключения.
    </span>
   </td>
  </tr>
  <tr>
   <td id="constant.oci-fo-reauth">
    <strong><code><a href="oci8.constants.php#constant.oci-fo-reauth">OCI_FO_REAUTH</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </td>
   <td>
    <span class="simpara">
     Пользователь БД Oracle прошёл повторную аутентификацию.
    </span>
   </td>
  </tr>
  <tr>
   <td id="constant.oci-fo-retry">
    <strong><code><a href="oci8.constants.php#constant.oci-fo-retry">OCI_FO_RETRY</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </td>
   <td>
    <span class="simpara">
     БД Oracle должна повторить попытку обработать отказ.
     Механизм TAF, если требуется, повторяет попытку обработки отказа,
     если при переключении на новое соединение возникла ошибка. Обычно коду приложения
     требуется выдержать паузу, прежде чем вернуть флаг <strong><code><a href="oci8.constants.php#constant.oci-fo-retry">OCI_FO_RETRY</a></code></strong>.
    </span>
   </td>
  </tr>
  <tr>
   <td id="constant.oci-fo-select">
    <strong><code><a href="oci8.constants.php#constant.oci-fo-select">OCI_FO_SELECT</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </td>
   <td>
    <span class="simpara">
     Пользователь также запросил отработку отказа при выполнении инструкции SELECT.
     Это разрешает пользователям с открытыми курсорами продолжать извлечение данных из курсоров после сбоя.
    </span>
   </td>
  </tr>
  <tr>
   <td id="constant.oci-fo-session">
    <strong><code><a href="oci8.constants.php#constant.oci-fo-session">OCI_FO_SESSION</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </td>
   <td>
    <span class="simpara">
     Пользователь запросил только обработку отказа сессии.
     Например, если произошла потеря пользовательского соединения,
     в резервной копии для пользователя автоматически создаётся новая сессия.
     Этот тип аварийного переключения не пытается восстановить SELECT-запросы.
    </span>
   </td>
  </tr>
  <tr>
   <td id="constant.oci-fo-txnal">
    <strong><code><a href="oci8.constants.php#constant.oci-fo-txnal">OCI_FO_TXNAL</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </td>
   <td>
    <span class="simpara">
     Пользователь запросил обработку отказа транзакции.
    </span>
   </td>
  </tr>
 </table>
</div>
<?php manual_footer($setup); ?>