Sophie

Sophie

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

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>Predefined Constants</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="mssql.resources.html">Resource Types</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ref.mssql.html">Mssql Functions</a></div>
 <div class="up"><a href="book.mssql.html">Mssql</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="mssql.constants" class="appendix">
 <h1>Predefined Constants</h1>

 <p class="simpara">
The constants below are defined by this extension, and
will only be available when the extension has either
been compiled into PHP or dynamically loaded at runtime.
</p>
 <dl>

  <dt id="constant.mssql-assoc">
   <span class="term">
    <strong><code>MSSQL_ASSOC</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Return an associative array. Used on 
      <span class="function"><a href="function.mssql-fetch-array.html" class="function">mssql_fetch_array()</a></span>&#039;s 
     <em>result_type</em> parameter.
    </span>
   </dd>

  </dt>

  <dt id="constant.mssql-num">
   <span class="term">
    <strong><code>MSSQL_NUM</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Return an array with numeric keys. Used on 
      <span class="function"><a href="function.mssql-fetch-array.html" class="function">mssql_fetch_array()</a></span>&#039;s 
     <em>result_type</em> parameter.
    </span>
   </dd>

  </dt>

  <dt id="constant.mssql-both">
   <span class="term">
    <strong><code>MSSQL_BOTH</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Return an array with both numeric keys and 
     keys with their field name. This is the 
     default value for   <span class="function"><a href="function.mssql-fetch-array.html" class="function">mssql_fetch_array()</a></span>&#039;s 
     <em>result_type</em> parameter.
    </span>
   </dd>

  </dt>

  <dt id="constant.sqltext">
   <span class="term">
    <strong><code>SQLTEXT</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Indicates the &#039;<em>TEXT</em>&#039; type in MSSQL, used by 
      <span class="function"><a href="function.mssql-bind.html" class="function">mssql_bind()</a></span>&#039;s <em>type</em> 
     parameter.
    </span>
   </dd>

  </dt>

  <dt id="constant.sqlvarchar">
   <span class="term">
    <strong><code>SQLVARCHAR</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Indicates the &#039;<em>VARCHAR</em>&#039; type in MSSQL, used by 
      <span class="function"><a href="function.mssql-bind.html" class="function">mssql_bind()</a></span>&#039;s <em>type</em> 
     parameter.
    </span>
   </dd>

  </dt>

  <dt id="constant.sqlchar">
   <span class="term">
    <strong><code>SQLCHAR</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Indicates the &#039;<em>CHAR</em>&#039; type in MSSQL, used by 
      <span class="function"><a href="function.mssql-bind.html" class="function">mssql_bind()</a></span>&#039;s <em>type</em> 
     parameter.
    </span>
   </dd>

  </dt>

  <dt id="constant.sqlint1">
   <span class="term">
    <strong><code>SQLINT1</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Represents one byte, with a range of -128 to 127.
    </span>
   </dd>

  </dt>

  <dt id="constant.sqlint2">
   <span class="term">
    <strong><code>SQLINT2</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Represents two bytes, with a range of -32768 
     to 32767.
    </span>
   </dd>

  </dt>

  <dt id="constant.sqlint4">
   <span class="term">
    <strong><code>SQLINT4</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Represents four bytes, with a range of -2147483648 
     to 2147483647.
    </span>
   </dd>

  </dt>

  <dt id="constant.sqlbit">
   <span class="term">
    <strong><code>SQLBIT</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Indicates the &#039;<em>BIT</em>&#039; type in MSSQL, used by 
      <span class="function"><a href="function.mssql-bind.html" class="function">mssql_bind()</a></span>&#039;s <em>type</em> 
     parameter.
    </span>
   </dd>

  </dt>

  <dt id="constant.sqlflt4">
   <span class="term">
    <strong><code>SQLFLT4</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Represents an four byte float.
    </span>
   </dd>

  </dt>

  <dt id="constant.sqlflt8">
   <span class="term">
    <strong><code>SQLFLT8</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Represents an eight byte float.
    </span>
   </dd>

  </dt>

 </dl>

</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="mssql.resources.html">Resource Types</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ref.mssql.html">Mssql Functions</a></div>
 <div class="up"><a href="book.mssql.html">Mssql</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>