<?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-procedure-columns.php',
    1 => 'db2_procedure_columns',
    2 => 'ストアドプロシージャのパラメータを含む結果セットを返す',
  ),
  'up' => 
  array (
    0 => 'ref.ibm-db2.php',
    1 => 'IBM DB2 関数',
  ),
  'prev' => 
  array (
    0 => 'function.db2-primary-keys.php',
    1 => 'db2_primary_keys',
  ),
  'next' => 
  array (
    0 => 'function.db2-procedures.php',
    1 => 'db2_procedures',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    'path' => 'reference/ibm_db2/functions/db2-procedure-columns.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.db2-procedure-columns" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">db2_procedure_columns</h1>
  <p class="verinfo">(PECL ibm_db2 &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">db2_procedure_columns</span> &mdash; <span class="dc-title">
   ストアドプロシージャのパラメータを含む結果セットを返す
  </span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.db2-procedure-columns-description">
  <h3 class="title">説明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>db2_procedure_columns</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>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$schema</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$procedure</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">$parameter</code></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-procedure-columns-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">procedure</code></dt>
    <dd>
     <span class="simpara">
      プロシージャの名前。このパラメータでは、ワイルドカードとして
      <code class="literal">_</code> および <code class="literal">%</code>
      を含む検索パターンを使用可能です。
     </span>
    </dd>
    
   
    <dt><code class="parameter">parameter</code></dt>
    <dd>
     <span class="simpara">
      パラメータの名前。このパラメータでは、ワイルドカードとして
      <code class="literal">_</code> および <code class="literal">%</code>
      を含む検索パターンを使用可能です。
      このパラメータが <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> の場合、指定したストアドプロシージャの
      すべてのパラメータが返されます。
     </span>
    </dd>
   
  </dl>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.db2-procedure-columns-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>PROCEDURE_CAT</td>
        <td>
         プロシージャを含むカタログ。テーブルがカタログを保持していない場合は <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong>。
        </td>
       </tr>

       <tr>
        <td>PROCEDURE_SCHEM</td>
        <td>ストアドプロシージャを含むスキーマの名前。</td>
       </tr>

       <tr>
        <td>PROCEDURE_NAME</td>
        <td>プロシージャの名前。</td>
       </tr>

       <tr>
        <td>COLUMN_NAME</td>
        <td>パラメータの名前。</td>
       </tr>

       <tr>
        <td>COLUMN_TYPE</td>
        <td>
         <p class="para">
          パラメータの型を表す整数値。
          <table class="doctable informaltable">
           
            <thead>
             <tr>
              <th>返される値</th>
              <th>パラメータの型</th>
             </tr>

            </thead>

            <tbody class="tbody">
             <tr>
              <td>1 (SQL_PARAM_INPUT)</td>
              <td>入力 (IN) パラメータ。</td>
             </tr>

             <tr>
              <td>2 (SQL_PARAM_INPUT_OUTPUT)</td>
              <td>入力/出力 (INOUT) パラメータ。</td>
             </tr>

             <tr>
              <td>3 (SQL_PARAM_OUTPUT)</td>
              <td>出力 (OUT) パラメータ。</td>
             </tr>

            </tbody>
           
          </table>

         </p>
        </td>
       </tr>

       <tr>
        <td>DATA_TYPE</td>
        <td>
         パラメータの SQL データ型を表す整数値。
        </td>
       </tr>

       <tr>
        <td>TYPE_NAME</td>
        <td>パラメータのデータ型を表す文字列。</td>
       </tr>

       <tr>
        <td>COLUMN_SIZE</td>
        <td>パラメータのサイズを表す整数値。</td>
       </tr>

       <tr>
        <td>BUFFER_LENGTH</td>
        <td>
         このパラメータのデータを保存するために必要な最大バイト数。
        </td>
       </tr>

       <tr>
        <td>DECIMAL_DIGITS</td>
        <td>
         パラメータの位取り。位取りが適用できない場合は <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong>。
        </td>
       </tr>

       <tr>
        <td>NUM_PREC_RADIX</td>
        <td>
         <code class="literal">10</code> (正確な数値データ型を表す)、
         <code class="literal">2</code> (概数データ型を表す)、
         あるいは <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> (基数が適用できないデータ型を表す)
         のいずれか。
        </td>
       </tr>

       <tr>
        <td>NULLABLE</td>
        <td>パラメータが null 値をとることができるかどうかを表す整数値。</td>
       </tr>

       <tr>
        <td>REMARKS</td>
        <td>パラメータの説明。</td>
       </tr>

       <tr>
        <td>COLUMN_DEF</td>
        <td>パラメータのデフォルト値。</td>
       </tr>

       <tr>
        <td>SQL_DATA_TYPE</td>
        <td>パラメータのサイズを表す整数値。</td>
       </tr>

       <tr>
        <td>SQL_DATETIME_SUB</td>
        <td>
         datetime 型のコードを表す整数値、
         あるいはこれが適用できない SQL データ型である場合に <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong>。
        </td>
       </tr>

       <tr>
        <td>CHAR_OCTET_LENGTH</td>
        <td>
         文字型のパラメータにおける最大のオクテット数。
         シングルバイト文字セットのデータの場合、これは COLUMN_SIZE
         に一致します。文字型でないカラムの場合は <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> となります。
        </td>
       </tr>

       <tr>
        <td>ORDINAL_POSITION</td>
        <td>CALL 文の中でのパラメータの位置を表す、1 から始まるインデックス。</td>
       </tr>

       <tr>
        <td>IS_NULLABLE</td>
        <td>
         パラメータが null 値をとることができるかどうかを表す文字列。
         &#039;YES&#039; の場合は null 値をとることができ、
         &#039;NO&#039; の場合はできません。
        </td>
       </tr>

     </tbody>
    
   </table>


  </p>
 </div>


 

 <div class="refsect1 seealso" id="refsect1-function.db2-procedure-columns-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-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>
   <li><span class="function"><a href="function.db2-tables.php" class="function" rel="rdfs-seeAlso">db2_tables()</a> - データベース内のテーブルおよび関連するメタデータを含む結果セットを返す</span></li>
  </ul>
 </div>



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