<?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 => 'pt_BR',
  ),
  'this' => 
  array (
    0 => 'oci8.constants.php',
    1 => 'Constantes predefinidas',
    2 => 'Constantes predefinidas',
  ),
  'up' => 
  array (
    0 => 'book.oci8.php',
    1 => 'OCI8',
  ),
  'prev' => 
  array (
    0 => 'oci8.configuration.php',
    1 => 'Configura&ccedil;&otilde;es em Execu&ccedil;&atilde;o',
  ),
  'next' => 
  array (
    0 => 'oci8.examples.php',
    1 => 'Exemplos',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'pt_BR',
    '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">Constantes predefinidas</h1>

 <p class="simpara">
As constantes abaixo são definidas por esta extensão e
só estarão disponíveis quando a extensão tiver sido compilada no PHP
ou tiver sido carregada dinamicamente em tempo de execução.
</p>
 <table class="doctable table">
   <caption><strong>Modos de função e métodos do OCI8</strong></caption>
   
     <thead>
       <tr>
         <th>Constante</th>
         <th>Descrição</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>
           Utilizado com <span class="function"><a href="function.oci-fetch-all.php" class="function">oci_fetch_all()</a></span> e
           <span class="function"><a href="function.oci-fetch-array.php" class="function">oci_fetch_array()</a></span> para obter os resultados em
           um array associativo.
         </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>
           Utilizado com <span class="function"><a href="function.oci-fetch-all.php" class="function">oci_fetch_all()</a></span> e
           <span class="function"><a href="function.oci-fetch-array.php" class="function">oci_fetch_array()</a></span> para obter os resultados em um
           array com índices associativos e numéricos.
         </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>
           Modo de execução de instruções com <span class="function"><a href="function.oci-execute.php" class="function">oci_execute()</a></span>.
           Automaticamente efetiva as alterações (commit) caso a instrução
           execute.
         </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>
           Utilizado com <span class="function"><a href="function.oci-connect.php" class="function">oci_connect()</a></span> para ativar a autenticação
           Oracles&#039; External ou do sistema operacional.
         </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>
           Veja <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>
           Modo de execução de instruções para
           <span class="function"><a href="function.oci-execute.php" class="function">oci_execute()</a></span>. Utilize esse modo se deseja
           metadados como os nomes de colunas mas não deseja
           trazer as linhas da consulta.
         </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>
           Obsoleto. Modo de execução de instruções. Utilizado quando a aplicação
           conheça previamente quantas linhas serão lidas.
           Este modo desliga o prefetching a partir do Oracle release 8.
           O cursor é cancelado depois da quantidade deseja de linhas
           é lida o que pode resultar em uma menor quantidade de recursos
           consumidos no lado do servidor.
         </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>
           Modo padrão do <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>
           Modo alternativo do <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>
           Utilizado com <a href="ocilob.flush.php" class="xref">OCILob::flush</a> para liberar
           os buffers associados.
         </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>
           Modo de execução de instruções para
           <span class="function"><a href="function.oci-execute.php" class="function">oci_execute()</a></span>. A instrução não é efetivada automaticamente
           nesse modo (modo sem commit). Para a legibilidade de
           em código, utilize esse valor ao invés da constante antiga equivalente
           <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>
           Utilizado com <span class="function"><a href="function.oci-fetch-all.php" class="function">oci_fetch_all()</a></span> e
           <span class="function"><a href="function.oci-fetch-array.php" class="function">oci_fetch_array()</a></span> para obter os resultados em
           um array enumerado.
         </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>
           Utilizado com <span class="function"><a href="function.oci-fetch-array.php" class="function">oci_fetch_array()</a></span> para obter o dado
           do LOB ao invés do descritor.
         </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>
           Utilizado com <span class="function"><a href="function.oci-fetch-array.php" class="function">oci_fetch_array()</a></span> para obter elementos
           vazios de array se o item da linha for <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>
           Utilizado com <a href="ocilob.seek.php" class="xref">OCILob::seek</a> para configurar a posição de leitura.
         </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>
           Utilizado com <a href="ocilob.seek.php" class="xref">OCILob::seek</a> para configurar a posição de leitura.
         </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>
           Utilizado com <a href="ocilob.seek.php" class="xref">OCILob::seek</a> para configurar a posição de leitura.
         </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>
           Obsoleto.
         </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>
           Utilizad com <span class="function"><a href="function.oci-connect.php" class="function">oci_connect()</a></span> para conectar com
           o privilégio SYSDBA. A configuração <var class="filename">php.ini</var>
           <a href="oci8.configuration.php#ini.oci8.privileged-connect" class="link">oci8.privileged_connect</a>
           precisa estar ativada.
         </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>
           Utilizado com <span class="function"><a href="function.oci-connect.php" class="function">oci_connect()</a></span> para conectar com
           o privilégio SYSOPER. A configuração <var class="filename">php.ini</var>
           <a href="oci8.configuration.php#ini.oci8.privileged-connect" class="link">oci8.privileged_connect</a>
           precisa estar ativada.
         </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>
           Utilizada com <a href="ocilob.writetemporary.php" class="xref">OCILob::writeTemporary</a>
           para indicar que um BLOB temporário deve ser criado.
         </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>
           Utilizado com <a href="ocilob.writetemporary.php" class="xref">OCILob::writeTemporary</a>
           para indicar que um CLOB temporário deve ser criado.
         </td>
       </tr>

     </tbody>
   
 </table>

 <table class="doctable table">
   <caption><strong>Tipos Bind e Define para do OCI8</strong></caption>
   
     <thead>
       <tr>
         <th>Constante</th>
         <th>Descrição</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>
           Utilizado com <span class="function"><a href="function.oci-bind-by-name.php" class="function">oci_bind_by_name()</a></span> quando associando
           (binding) BFILEs.
         </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>
           Utilizado com <span class="function"><a href="function.oci-bind-by-name.php" class="function">oci_bind_by_name()</a></span> para associar (bind) valores RAW.
         </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>
           Utilizado com <span class="function"><a href="function.oci-bind-by-name.php" class="function">oci_bind_by_name()</a></span> quando associando
           (binding) BLOBs.
         </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>
           Utilizado com <span class="function"><a href="function.oci-bind-by-name.php" class="function">oci_bind_by_name()</a></span> para associar (bind) uma variável PL/SQL
           booleana.
         </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>
           Utilizado com <span class="function"><a href="function.oci-bind-by-name.php" class="function">oci_bind_by_name()</a></span> quando associando
           (binding) CFILEs.
         </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>
           Utilizado com <span class="function"><a href="function.oci-bind-by-name.php" class="function">oci_bind_by_name()</a></span> quando associando
           (binding) CLOBs.
         </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>
           Utilizado com <span class="function"><a href="function.oci-bind-by-name.php" class="function">oci_bind_by_name()</a></span> quando associando
           (binding) cursores, anteriormente alocados
           com <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>
           Utilizado com <span class="function"><a href="function.oci-bind-array-by-name.php" class="function">oci_bind_array_by_name()</a></span> para associar
           (bind) arrays de 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>
           Utilizado com <span class="function"><a href="function.oci-bind-by-name.php" class="function">oci_bind_by_name()</a></span> quando associando
           (binding) tipos nomeados.
         </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>
           Utilizado com <span class="function"><a href="function.oci-bind-array-by-name.php" class="function">oci_bind_array_by_name()</a></span> para associar
           (bind) arrays de 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>
           Utilizado com <span class="function"><a href="function.oci-bind-by-name.php" class="function">oci_bind_by_name()</a></span> quando associando
           (binding) ROWIDs.
         </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>
           Utilizado com <span class="function"><a href="function.oci-bind-array-by-name.php" class="function">oci_bind_array_by_name()</a></span> para associar
           (bind) arrays de 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>
           Utilizado com <span class="function"><a href="function.oci-bind-array-by-name.php" class="function">oci_bind_array_by_name()</a></span> para associar
           (bind) arrays de 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>
           Não suportado.
         </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>
           O mesmo que <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>
           Não suportado.
         </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>
           O mesmo que <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>
           O mesmo que <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>
           O mesmo que <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>
           O mesmo que <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>
           Utilizado com <span class="function"><a href="function.oci-bind-array-by-name.php" class="function">oci_bind_array_by_name()</a></span> para associar
           (bind) arrays de VARCHAR2.
           Também utilizado com <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>
           O mesmo que <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>
           Utilizado com <span class="function"><a href="function.oci-bind-array-by-name.php" class="function">oci_bind_array_by_name()</a></span> para associar
           (bind) arrays de 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>
           O mesmo que <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>
           Utilizado com <span class="function"><a href="function.oci-bind-by-name.php" class="function">oci_bind_by_name()</a></span> para associar (bind) valores 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>
           Utilizado com <span class="function"><a href="function.oci-bind-by-name.php" class="function">oci_bind_by_name()</a></span> para associar (bind) valores 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>
           Utilizado com <span class="function"><a href="function.oci-bind-array-by-name.php" class="function">oci_bind_array_by_name()</a></span> para associar
           (bind) arrays de 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>
           O mesmo que <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>
           O mesmo que <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>
           Utilizado com <span class="function"><a href="function.oci-bind-array-by-name.php" class="function">oci_bind_array_by_name()</a></span> para associar
           (bind) arrays de 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>
           O mesmo que <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>
           O mesmo que <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>
           Utilizado com <span class="function"><a href="function.oci-bind-array-by-name.php" class="function">oci_bind_array_by_name()</a></span> para associar
           (bind) arrays de 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>
           Não suportado.
         </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>
           Utilizado com <span class="function"><a href="function.oci-bind-array-by-name.php" class="function">oci_bind_array_by_name()</a></span> para associar
           (bind) arrays de VARCHAR.
         </td>
       </tr>

     </tbody>
   
 </table>

 <table class="doctable table">
   <caption><strong>Tipos de descritores do OCI8</strong></caption>
   
     <thead>
       <tr>
         <th>Constante</th>
         <th>Descrição</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>
           Esse indicador faz <span class="function"><a href="function.oci-new-descriptor.php" class="function">oci_new_descriptor()</a></span>
           inicializar um descritor 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>
           Esse indicador faz <span class="function"><a href="function.oci-new-descriptor.php" class="function">oci_new_descriptor()</a></span>
           inicializar um descritor 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>
           Esse indicador faz <span class="function"><a href="function.oci-new-descriptor.php" class="function">oci_new_descriptor()</a></span>
           inicializar um descritor 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>
           O mesmo que <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>
           O mesmo que <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>
           O mesmo que <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>Constantes</th>
        <th>Descrição</th>
       </tr>
  <strong class="title">Constantes do OCI8 Transparent Application Failover (TAF)</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">
     Failover falhou e não há opção para tentar novamente.
    </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">
     Failover detectou uma conexão perdida e está iniciando.
    </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">
     Failover completou com sucesso.
    </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">
     Failover não teve sucesso mas ele dará a oportunidade ao manipulador
     de erro e retornará <strong><code><a href="oci8.constants.php#constant.oci-fo-retry">OCI_FO_RETRY</a></code></strong> ao failover de repetição.
    </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">
     O usuário solicitou um tipo failover.
    </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">
     Um usuário Oracle foir re-autenticado.
    </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">
     O failover deverá ser tentado novamente pelo Oracle.
     No caso de um erro na tentativa falhando para uma nova
     conexão, TAF será capaz de reiniciar o failover.
     Tipicamente a aplicação deve dormir
     antes de retornar <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">
     O usuário também solicitou um failover SELECT.
     Ele permite aos usuários com cursores abertos continuar obtendo dados depois de um failover.
    </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">
     O usuário solicitou apenas failover de sessão.
     Por exemplo, se uma conexão de usuário é perdida,
     então uma nova sessão é automaticamente criada para o usuário a partir do backup.
     Esse tipo de failover não tenta recuperar SELECTs.
    </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">
     O usuário solicitou um failover de transação.
    </span>
   </td>
  </tr>
 </table>
</div>
<?php manual_footer($setup); ?>