<?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 => 'it',
  ),
  'this' => 
  array (
    0 => 'function.db2-field-scale.php',
    1 => 'db2_field_scale',
    2 => 'Returns the scale of the indicated column in a result set',
  ),
  'up' => 
  array (
    0 => 'ref.ibm-db2.php',
    1 => 'IBM DB2 Funzioni',
  ),
  'prev' => 
  array (
    0 => 'function.db2-field-precision.php',
    1 => 'db2_field_precision',
  ),
  'next' => 
  array (
    0 => 'function.db2-field-type.php',
    1 => 'db2_field_type',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/ibm_db2/functions/db2-field-scale.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.db2-field-scale" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">db2_field_scale</h1>
  <p class="verinfo">(PECL ibm_db2 &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">db2_field_scale</span> &mdash; <span class="dc-title">
   Returns the scale of the indicated column in a result set
  </span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.db2-field-scale-description">
  <h3 class="title">Descrizione</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>db2_field_scale</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$stmt</code></span>, <span class="methodparam"><span class="type"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span>|<span class="type"><a href="language.types.string.php" class="type string">string</a></span></span> <code class="parameter">$column</code></span>): <span class="type"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>


  <p class="simpara">
   Returns the scale of the indicated column in a result set.
  </p>

 </div>

 <div class="refsect1 parameters" id="refsect1-function.db2-field-scale-parameters">
  <h3 class="title">Elenco dei parametri</h3>
  <dl>
   
    <dt><code class="parameter">stmt</code></dt>
     <dd>
      <span class="simpara">
       Specifies a statement resource containing a result set.
      </span>
     </dd>
    
   
    <dt><code class="parameter">column</code></dt>
     <dd>
      <span class="simpara">
       Specifies the column in the result set. This can either be an integer
       representing the 0-indexed position of the column, or a string
       containing the name of the column.
      </span>
     </dd>
    
  </dl>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.db2-field-scale-returnvalues">
  <h3 class="title">Valori restituiti</h3>
  <p class="simpara">
   Returns an integer containing the scale of the specified column. If the
   specified column does not exist in the result set,
   <span class="function"><strong>db2_field_scale()</strong></span> returns <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>.
  </p>
 </div>


 

 <div class="refsect1 seealso" id="refsect1-function.db2-field-scale-seealso">
  <h3 class="title">Vedere anche:</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.db2-field-display-size.php" class="function" rel="rdfs-seeAlso">db2_field_display_size()</a> - Returns the maximum number of bytes required to display a column</span></li>
   <li><span class="function"><a href="function.db2-field-name.php" class="function" rel="rdfs-seeAlso">db2_field_name()</a> - Returns the name of the column in the result set</span></li>
   <li><span class="function"><a href="function.db2-field-num.php" class="function" rel="rdfs-seeAlso">db2_field_num()</a> - Returns the position of the named column in a result set</span></li>
   <li><span class="function"><a href="function.db2-field-precision.php" class="function" rel="rdfs-seeAlso">db2_field_precision()</a> - Returns the precision of the indicated column in a result set</span></li>
   <li><span class="function"><a href="function.db2-field-type.php" class="function" rel="rdfs-seeAlso">db2_field_type()</a> - Returns the data type of the indicated column in a result set</span></li>
   <li><span class="function"><a href="function.db2-field-width.php" class="function" rel="rdfs-seeAlso">db2_field_width()</a> - Returns the width of the current value of the indicated column in a result set</span></li>
  </ul>
 </div>


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