Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 4836

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Tell the raw Oracle data type of the field</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.oci-field-size.html">oci_field_size</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.oci-field-type.html">oci_field_type</a></div>
 <div class="up"><a href="ref.oci8.html">OCI8 Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.oci-field-type-raw" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">oci_field_type_raw</h1>
  <p class="verinfo">(PHP 5, PECL OCI8 &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">oci_field_type_raw</span> &mdash; <span class="dc-title">Tell the raw Oracle data type of the field</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.oci-field-type-raw-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">int</span> <span class="methodname"><strong>oci_field_type_raw</strong></span>
    ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$statement</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$field</code></span>
   )</div>

  <p class="para rdfs-comment">
   Returns Oracle&#039;s raw data type of the <em><code class="parameter">field</code></em>.
  </p>
  <p class="para">
   However, if you want to get field&#039;s type, then
    <span class="function"><a href="function.oci-field-type.html" class="function">oci_field_type()</a></span> will suit you better. 
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.oci-field-type-raw-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>

    <dt>

     <span class="term"><em><code class="parameter">statement</code></em></span>
     <dd>

      <p class="para">
       A valid OCI statement identifier.
      </p>
     </dd>

    </dt>

    <dt>

     <span class="term"><em><code class="parameter">field</code></em></span>
     <dd>

      <p class="para">
       Can be the field&#039;s index (1-based) or name.
      </p>
     </dd>

    </dt>

   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.oci-field-type-raw-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns Oracle&#039;s raw data type as a string, or <strong><code>FALSE</code></strong> on errors.
  </p>
 </div>


 <div class="refsect1 notes" id="refsect1-function.oci-field-type-raw-notes">
  <h3 class="title">Notes</h3>
  <blockquote class="note"><p><strong class="note">Note</strong>: 
   <p class="para">
    In PHP versions before 5.0.0 you must use  <span class="function"><a href="function.ocicolumntyperaw.html" class="function">ocicolumntyperaw()</a></span> instead.
    This name still can be used, it was left as alias of
     <span class="function"><strong>oci_field_type_raw()</strong></span> for downwards compatability.
    This, however, is deprecated and not recommended.
   </p>
  </p></blockquote>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.oci-field-size.html">oci_field_size</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.oci-field-type.html">oci_field_type</a></div>
 <div class="up"><a href="ref.oci8.html">OCI8 Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>