2005-04-12 21:12:48 +00:00
|
|
|
<?xml version='1.0' encoding='iso-8859-1'?>
|
2007-06-20 22:25:43 +00:00
|
|
|
<!-- $Revision: 1.9 $ -->
|
2005-04-12 21:12:48 +00:00
|
|
|
<!-- Generated by xml_proto.php v2.2. Found in /scripts directory of phpdoc. -->
|
2007-06-20 22:25:43 +00:00
|
|
|
<section xml:id="ibm-db2.constants" xmlns="http://docbook.org/ns/docbook">
|
2005-04-12 21:12:48 +00:00
|
|
|
&reftitle.constants;
|
|
|
|
&extension.constants;
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<constant>DB2_BINARY</constant>
|
|
|
|
(<type>integer</type>)
|
|
|
|
</term>
|
|
|
|
<listitem>
|
2005-04-12 23:45:14 +00:00
|
|
|
<simpara>
|
2005-05-18 22:46:27 +00:00
|
|
|
Specifies that binary data shall be returned as is. This is the default
|
|
|
|
mode.
|
2005-04-12 21:12:48 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<constant>DB2_CONVERT</constant>
|
|
|
|
(<type>integer</type>)
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2005-06-15 01:16:16 +00:00
|
|
|
Specifies that binary data shall be converted to a hexadecimal encoding
|
2005-05-18 22:46:27 +00:00
|
|
|
and returned as an ASCII string.
|
2005-04-12 21:12:48 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<constant>DB2_PASSTHRU</constant>
|
|
|
|
(<type>integer</type>)
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2005-05-18 22:46:27 +00:00
|
|
|
Specifies that binary data shall be converted to a &null; value.
|
2005-04-12 21:12:48 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<constant>DB2_SCROLLABLE</constant>
|
|
|
|
(<type>integer</type>)
|
|
|
|
</term>
|
|
|
|
<listitem>
|
2005-04-12 23:45:14 +00:00
|
|
|
<simpara>
|
|
|
|
Specifies a scrollable cursor for a statement resource. This mode enables
|
|
|
|
random access to rows in a result set, but currently is supported only by
|
|
|
|
IBM DB2 Universal Database.
|
2005-04-12 21:12:48 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<constant>DB2_FORWARD_ONLY</constant>
|
|
|
|
(<type>integer</type>)
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2005-04-12 23:45:14 +00:00
|
|
|
Specifies a forward-only cursor for a statement resource. This is the
|
|
|
|
default cursor type and is supported on all database servers.
|
2005-04-12 21:12:48 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<constant>DB2_PARAM_IN</constant>
|
|
|
|
(<type>integer</type>)
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2005-04-12 23:45:14 +00:00
|
|
|
Specifies the PHP variable should be bound as an IN parameter for a
|
|
|
|
stored procedure.
|
2005-04-12 21:12:48 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<constant>DB2_PARAM_OUT</constant>
|
|
|
|
(<type>integer</type>)
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2005-04-12 23:45:14 +00:00
|
|
|
Specifies the PHP variable should be bound as an OUT parameter for a
|
|
|
|
stored procedure.
|
2005-04-12 21:12:48 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<constant>DB2_PARAM_INOUT</constant>
|
|
|
|
(<type>integer</type>)
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2005-04-12 23:45:14 +00:00
|
|
|
Specifies the PHP variable should be bound as an INOUT parameter for a
|
|
|
|
stored procedure.
|
2005-04-12 21:12:48 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<constant>DB2_PARAM_FILE</constant>
|
|
|
|
(<type>integer</type>)
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2006-01-25 04:26:17 +00:00
|
|
|
Specifies that the column should be bound directly to a file for input.
|
2005-04-12 21:12:48 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<constant>DB2_AUTOCOMMIT_ON</constant>
|
|
|
|
(<type>integer</type>)
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2005-04-12 23:45:14 +00:00
|
|
|
Specifies that autocommit should be turned on.
|
2005-04-12 21:12:48 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<constant>DB2_AUTOCOMMIT_OFF</constant>
|
|
|
|
(<type>integer</type>)
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2005-04-12 23:45:14 +00:00
|
|
|
Specifies that autocommit should be turned off.
|
2005-04-12 21:12:48 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<constant>DB2_DOUBLE</constant>
|
|
|
|
(<type>integer</type>)
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2005-04-12 23:45:14 +00:00
|
|
|
Specifies that the variable should be bound as a DOUBLE, FLOAT, or REAL
|
|
|
|
data type.
|
2005-04-12 21:12:48 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<constant>DB2_LONG</constant>
|
|
|
|
(<type>integer</type>)
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2005-04-12 23:45:14 +00:00
|
|
|
Specifies that the variable should be bound as a SMALLINT, INTEGER, or
|
|
|
|
BIGINT data type.
|
2005-04-12 21:12:48 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<constant>DB2_CHAR</constant>
|
|
|
|
(<type>integer</type>)
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2005-04-12 23:45:14 +00:00
|
|
|
Specifies that the variable should be bound as a CHAR or VARCHAR data type.
|
2005-04-12 21:12:48 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2006-02-21 16:42:41 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<constant>DB2_CASE_NATURAL</constant>
|
|
|
|
(<type>integer</type>)
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
Specifies that column names will be returned in their natural case.
|
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<constant>DB2_CASE_LOWER</constant>
|
|
|
|
(<type>integer</type>)
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
Specifies that column names will be returned in lower case.
|
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<constant>DB2_CASE_UPPER</constant>
|
|
|
|
(<type>integer</type>)
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
Specifies that column names will be returned in upper case.
|
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2007-04-11 05:53:31 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<constant>DB2_DEFERRED_PREPARE_ON</constant>
|
|
|
|
(<type>integer</type>)
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
Specifies that deferred prepare should be turned on for the specified statement resource.
|
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<constant>DB2_DEFERRED_PREPARE_OFF</constant>
|
|
|
|
(<type>integer</type>)
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
Specifies that deferred prepare should be turned off for the specified statement resource.
|
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2005-04-12 21:12:48 +00:00
|
|
|
</variablelist>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<!-- 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
|
|
|
|
sgml-default-dtd-file:"../../../../manual.ced"
|
|
|
|
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
|
|
|
|
-->
|