<?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 => 'ja',
  ),
  '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' => 'ja',
    '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> と組み合わせ、
           Oracles の External 認証あるいは OS 認証を利用します。
         </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> のステートメント実行モード。
           このモードでは、トランザクションの自動コミットは行われません。
           コードの可読性を考慮して、今までの
           <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> で、SYSDBA として接続するために使います。
           <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>
           一時的な BLOB が生成されるよう明示的に指定するため
           <a href="ocilob.writetemporary.php" class="xref">OCILob::writeTemporary</a> と併用します。
         </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>
           一時的な CLOB が生成されるよう明示的に指定するため
           <a href="ocilob.writetemporary.php" class="xref">OCILob::writeTemporary</a> と併用します。
         </td>
       </tr>

     </tbody>
   
 </table>

 <table class="doctable table">
   <caption><strong>OCI8 バインドおよび定義の型</strong></caption>
   
     <thead>
       <tr>
         <th><strong><code>定数</code></strong></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> で
           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>
           <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> で PL/SQL の BOOLEAN
           変数をバインドする場合に使います。
         </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> で
           CHARZ の配列をバインドする場合に使います。
         </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">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">
     フェイルオーバーは失敗し、リトライのオプションもありません
    </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); ?>