2010-03-28 22:10:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2009-07-11 08:10:32 +00:00
|
|
|
<!-- $Revision$ -->
|
2007-12-26 13:57:52 +00:00
|
|
|
<appendix xml:id="mssql.constants" xmlns="http://docbook.org/ns/docbook">
|
2002-07-26 12:08:12 +00:00
|
|
|
&reftitle.constants;
|
|
|
|
&extension.constants;
|
|
|
|
<variablelist>
|
2012-02-28 13:22:09 +00:00
|
|
|
<varlistentry xml:id="constant.mssql-assoc">
|
2002-07-26 12:08:12 +00:00
|
|
|
<term>
|
|
|
|
<constant>MSSQL_ASSOC</constant>
|
2003-05-28 23:03:10 +00:00
|
|
|
(<type>integer</type>)
|
2002-07-26 12:08:12 +00:00
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2008-10-08 18:29:23 +00:00
|
|
|
Return an associative array. Used on
|
|
|
|
<function>mssql_fetch_array</function>'s
|
|
|
|
<literal>result_type</literal> parameter.
|
2002-07-26 12:08:12 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2012-02-28 13:22:09 +00:00
|
|
|
<varlistentry xml:id="constant.mssql-num">
|
2002-07-26 12:08:12 +00:00
|
|
|
<term>
|
|
|
|
<constant>MSSQL_NUM</constant>
|
2003-05-28 23:03:10 +00:00
|
|
|
(<type>integer</type>)
|
2002-07-26 12:08:12 +00:00
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2008-10-08 18:29:23 +00:00
|
|
|
Return an array with numeric keys. Used on
|
|
|
|
<function>mssql_fetch_array</function>'s
|
|
|
|
<literal>result_type</literal> parameter.
|
2002-07-26 12:08:12 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2012-02-28 13:22:09 +00:00
|
|
|
<varlistentry xml:id="constant.mssql-both">
|
2002-07-26 12:08:12 +00:00
|
|
|
<term>
|
|
|
|
<constant>MSSQL_BOTH</constant>
|
2003-05-28 23:03:10 +00:00
|
|
|
(<type>integer</type>)
|
2002-07-26 12:08:12 +00:00
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2008-10-08 18:29:23 +00:00
|
|
|
Return an array with both numeric keys and
|
|
|
|
keys with their field name. This is the
|
|
|
|
default value for <function>mssql_fetch_array</function>'s
|
|
|
|
<literal>result_type</literal> parameter.
|
2002-07-26 12:08:12 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2012-02-28 13:22:09 +00:00
|
|
|
<varlistentry xml:id="constant.sqltext">
|
2002-07-26 12:08:12 +00:00
|
|
|
<term>
|
|
|
|
<constant>SQLTEXT</constant>
|
2003-05-28 23:03:10 +00:00
|
|
|
(<type>integer</type>)
|
2002-07-26 12:08:12 +00:00
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2009-04-19 20:40:13 +00:00
|
|
|
Indicates the '<literal>TEXT</literal>' type in MSSQL, used by
|
2008-10-08 18:29:23 +00:00
|
|
|
<function>mssql_bind</function>'s <literal>type</literal>
|
|
|
|
parameter.
|
2002-07-26 12:08:12 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2012-02-28 13:22:09 +00:00
|
|
|
<varlistentry xml:id="constant.sqlvarchar">
|
2002-07-26 12:08:12 +00:00
|
|
|
<term>
|
|
|
|
<constant>SQLVARCHAR</constant>
|
2003-05-28 23:03:10 +00:00
|
|
|
(<type>integer</type>)
|
2002-07-26 12:08:12 +00:00
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2009-04-19 20:40:13 +00:00
|
|
|
Indicates the '<literal>VARCHAR</literal>' type in MSSQL, used by
|
2008-10-08 18:29:23 +00:00
|
|
|
<function>mssql_bind</function>'s <literal>type</literal>
|
|
|
|
parameter.
|
2002-07-26 12:08:12 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2012-02-28 13:22:09 +00:00
|
|
|
<varlistentry xml:id="constant.sqlchar">
|
2002-07-26 12:08:12 +00:00
|
|
|
<term>
|
|
|
|
<constant>SQLCHAR</constant>
|
2003-05-28 23:03:10 +00:00
|
|
|
(<type>integer</type>)
|
2002-07-26 12:08:12 +00:00
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2009-04-19 20:40:13 +00:00
|
|
|
Indicates the '<literal>CHAR</literal>' type in MSSQL, used by
|
2008-10-08 18:29:23 +00:00
|
|
|
<function>mssql_bind</function>'s <literal>type</literal>
|
|
|
|
parameter.
|
2002-07-26 12:08:12 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2012-02-28 13:22:09 +00:00
|
|
|
<varlistentry xml:id="constant.sqlint1">
|
2002-07-26 12:08:12 +00:00
|
|
|
<term>
|
|
|
|
<constant>SQLINT1</constant>
|
2003-05-28 23:03:10 +00:00
|
|
|
(<type>integer</type>)
|
2002-07-26 12:08:12 +00:00
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2008-10-08 18:29:23 +00:00
|
|
|
Represents one byte, with a range of -128 to 127.
|
2002-07-26 12:08:12 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2012-02-28 13:22:09 +00:00
|
|
|
<varlistentry xml:id="constant.sqlint2">
|
2002-07-26 12:08:12 +00:00
|
|
|
<term>
|
|
|
|
<constant>SQLINT2</constant>
|
2003-05-28 23:03:10 +00:00
|
|
|
(<type>integer</type>)
|
2002-07-26 12:08:12 +00:00
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2008-10-08 18:29:23 +00:00
|
|
|
Represents two bytes, with a range of -32768
|
|
|
|
to 32767.
|
2002-07-26 12:08:12 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2012-02-28 13:22:09 +00:00
|
|
|
<varlistentry xml:id="constant.sqlint4">
|
2002-07-26 12:08:12 +00:00
|
|
|
<term>
|
|
|
|
<constant>SQLINT4</constant>
|
2003-05-28 23:03:10 +00:00
|
|
|
(<type>integer</type>)
|
2002-07-26 12:08:12 +00:00
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2009-07-09 13:18:26 +00:00
|
|
|
Represents four bytes, with a range of -2147483648
|
2008-10-08 18:29:23 +00:00
|
|
|
to 2147483647.
|
2002-07-26 12:08:12 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2012-02-28 13:22:09 +00:00
|
|
|
<varlistentry xml:id="constant.sqlbit">
|
2002-07-26 12:08:12 +00:00
|
|
|
<term>
|
|
|
|
<constant>SQLBIT</constant>
|
2003-05-28 23:03:10 +00:00
|
|
|
(<type>integer</type>)
|
2002-07-26 12:08:12 +00:00
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2009-04-19 20:40:13 +00:00
|
|
|
Indicates the '<literal>BIT</literal>' type in MSSQL, used by
|
2008-10-08 18:29:23 +00:00
|
|
|
<function>mssql_bind</function>'s <literal>type</literal>
|
|
|
|
parameter.
|
2002-07-26 12:08:12 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2012-02-28 13:22:09 +00:00
|
|
|
<varlistentry xml:id="constant.sqlflt4">
|
2008-10-09 08:48:10 +00:00
|
|
|
<term>
|
|
|
|
<constant>SQLFLT4</constant>
|
|
|
|
(<type>integer</type>)
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
Represents an four byte float.
|
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2012-02-28 13:22:09 +00:00
|
|
|
<varlistentry xml:id="constant.sqlflt8">
|
2002-07-26 12:08:12 +00:00
|
|
|
<term>
|
|
|
|
<constant>SQLFLT8</constant>
|
2003-05-28 23:03:10 +00:00
|
|
|
(<type>integer</type>)
|
2002-07-26 12:08:12 +00:00
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2008-10-08 18:29:23 +00:00
|
|
|
Represents an eight byte float.
|
2002-07-26 12:08:12 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
2007-12-26 13:57:52 +00:00
|
|
|
</appendix>
|
2002-07-26 12:08:12 +00:00
|
|
|
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-omittag:t
|
|
|
|
sgml-shorttag:t
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:1
|
|
|
|
sgml-indent-data:t
|
|
|
|
indent-tabs-mode:nil
|
|
|
|
sgml-parent-document:nil
|
2009-09-25 07:04:39 +00:00
|
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
2002-07-26 12:08:12 +00:00
|
|
|
sgml-exposed-tags:nil
|
|
|
|
sgml-local-catalogs:nil
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
End:
|
|
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
|
|
vim: et tw=78 syn=sgml
|
|
|
|
vi: ts=1 sw=1
|
|
|
|
-->
|