<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.ibm-db2.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'function.db2-tables.php',
    1 => 'db2_tables',
    2 => 'データベース内のテーブルおよび関連するメタデータを含む結果セットを返す',
  ),
  'up' => 
  array (
    0 => 'ref.ibm-db2.php',
    1 => 'IBM DB2 関数',
  ),
  'prev' => 
  array (
    0 => 'function.db2-table-privileges.php',
    1 => 'db2_table_privileges',
  ),
  'next' => 
  array (
    0 => 'book.mongodb.php',
    1 => 'MongoDB',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    'path' => 'reference/ibm_db2/functions/db2-tables.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.db2-tables" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">db2_tables</h1>
  <p class="verinfo">(PECL ibm_db2 &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">db2_tables</span> &mdash; <span class="dc-title">
   データベース内のテーブルおよび関連するメタデータを含む結果セットを返す
  </span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.db2-tables-description">
  <h3 class="title">説明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>db2_tables</strong></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$connection</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.string.php" class="type string">string</a></span></span> <code class="parameter">$qualifier</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.string.php" class="type string">string</a></span></span> <code class="parameter">$schema</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.string.php" class="type string">string</a></span></span> <code class="parameter">$table_name</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.string.php" class="type string">string</a></span></span> <code class="parameter">$table_type</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span><br>): <span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span></div>


  <p class="simpara">
   データベース内のテーブルおよび関連するメタデータを含む結果セットを返します。
  </p>

 </div>

 <div class="refsect1 parameters" id="refsect1-function.db2-tables-parameters">
  <h3 class="title">パラメータ</h3>
  <dl>
   
    <dt><code class="parameter">connection</code></dt>
    <dd>
     <span class="simpara">
      IBM DB2、Cloudscape あるいは Apache Derby データベースへの有効な接続。
     </span>
    </dd>
   
   
    <dt><code class="parameter">qualifier</code></dt>
    <dd>
     <span class="simpara">
      OS/390 あるいは z/OS サーバー上で稼動している DB2 データベースの修飾子。
      その他のデータベースの場合には <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> あるいは空の文字列を渡します。
     </span>
    </dd>
   
   
    <dt><code class="parameter">schema</code></dt>
    <dd>
     <span class="simpara">
      テーブルを含むスキーマ。このパラメータでは、ワイルドカードとして
      <code class="literal">_</code> および <code class="literal">%</code>
      を含む検索パターンを使用可能です。
     </span>
    </dd>
   
   
    <dt><code class="parameter">table_name</code></dt>
    <dd>
     <span class="simpara">
      テーブルの名前。このパラメータでは、ワイルドカードとして
      <code class="literal">_</code> および <code class="literal">%</code>
      を含む検索パターンを使用可能です。
     </span>
    </dd>
   
   
    <dt><code class="parameter">table_type</code></dt>
    <dd>
     <span class="simpara">
      テーブル型の識別子をカンマで区切ったリスト。
      すべてのテーブル型を指定するには、<strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> あるいは空の文字列を指定します。
      有効なテーブル型識別子は
      ALIAS、HIERARCHY TABLE、INOPERATIVE VIEW、NICKNAME、
      MATERIALIZED QUERY TABLE、SYSTEM TABLE、TABLE、TYPED TABLE、TYPED VIEW
      および VIEW です。
     </span>
    </dd>
   
  </dl>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.db2-tables-returnvalues">
  <h3 class="title">戻り値</h3>
  <p class="para">
   指定したパラメータに一致するテーブルの情報を含む結果セットのリソースを返します。
   行の内容は、以下のカラムで構成されています。
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>カラム名</th>
       <th>説明</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>TABLE_CAT</td>
       <td>
        テーブルを含むカタログ。テーブルがカタログを保持していない場合は <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong>。
       </td>
      </tr>

      <tr>
       <td>TABLE_SCHEM</td>
       <td>テーブルを含むスキーマの名前。</td>
      </tr>

      <tr>
       <td>TABLE_NAME</td>
       <td>テーブルの名前。</td>
      </tr>

      <tr>
       <td>TABLE_TYPE</td>
       <td>テーブルの型識別子。</td>
      </tr>

      <tr>
       <td>REMARKS</td>
       <td>テーブルの説明。</td>
      </tr>

     </tbody>
    
   </table>

  </p>
 </div>


 

 <div class="refsect1 seealso" id="refsect1-function.db2-tables-seealso">
  <h3 class="title">参考</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.db2-column-privileges.php" class="function" rel="rdfs-seeAlso">db2_column_privileges()</a> - テーブルのカラムおよび関連する権限情報を含む結果セットを返す</span></li>
   <li><span class="function"><a href="function.db2-columns.php" class="function" rel="rdfs-seeAlso">db2_columns()</a> - テーブルのカラムおよび関連するメタデータを含む結果セットを返す</span></li>
   <li><span class="function"><a href="function.db2-foreign-keys.php" class="function" rel="rdfs-seeAlso">db2_foreign_keys()</a> - テーブルの外部キーを含む結果セットを返す</span></li>
   <li><span class="function"><a href="function.db2-primary-keys.php" class="function" rel="rdfs-seeAlso">db2_primary_keys()</a> - テーブルの主キーを含む結果セットを返す</span></li>
   <li><span class="function"><a href="function.db2-procedure-columns.php" class="function" rel="rdfs-seeAlso">db2_procedure_columns()</a> - ストアドプロシージャのパラメータを含む結果セットを返す</span></li>
   <li><span class="function"><a href="function.db2-procedures.php" class="function" rel="rdfs-seeAlso">db2_procedures()</a> - データベース内に登録されているストアドプロシージャの一覧を含む結果セットを返す</span></li>
   <li><span class="function"><a href="function.db2-special-columns.php" class="function" rel="rdfs-seeAlso">db2_special_columns()</a> - テーブルのユニーク行 ID カラムを含む結果セットを返す</span></li>
   <li><span class="function"><a href="function.db2-statistics.php" class="function" rel="rdfs-seeAlso">db2_statistics()</a> - インデックスの情報およびテーブルの統計情報を含む結果セットを返す</span></li>
   <li><span class="function"><a href="function.db2-table-privileges.php" class="function" rel="rdfs-seeAlso">db2_table_privileges()</a> - データベース内のテーブルおよび関連する権限情報を含む結果セットを返す</span></li>
  </ul>
 </div>


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