reference/ibm_db2/functions/db2-connect.xml
61374bbe228e8e9c55a24aba59a1e2bb2a871148
...
...
@@ -11,11 +11,11 @@
11
11
<refsect1 role="description">
12
12
&reftitle.description;
13
13
<methodsynopsis>
14
-
<type>resource</type><methodname>db2_connect</methodname>
14
+
<type class="union"><type>resource</type><type>false</type></type><methodname>db2_connect</methodname>
15
15
<methodparam><type>string</type><parameter>database</parameter></methodparam>
16
-
<methodparam><type>string</type><parameter>username</parameter></methodparam>
17
-
<methodparam><type>string</type><parameter>password</parameter></methodparam>
18
-
<methodparam choice="opt"><type>array</type><parameter>options</parameter></methodparam>
16
+
<methodparam><type class="union"><type>string</type><type>null</type></type><parameter>username</parameter></methodparam>
17
+
<methodparam><type class="union"><type>string</type><type>null</type></type><parameter>password</parameter></methodparam>
18
+
<methodparam choice="opt"><type>array</type><parameter>options</parameter><initializer>[]</initializer></methodparam>
19
19
</methodsynopsis>
20
20

21
21
<para>
...
...
@@ -123,11 +123,11 @@
123
123
<term><parameter>autocommit</parameter></term>
124
124
<listitem>
125
125
<para>
126
-
Passing the <literal>DB2_AUTOCOMMIT_ON</literal> value turns
126
+
Passing the <constant>DB2_AUTOCOMMIT_ON</constant> value turns
127
127
autocommit on for this connection handle.
128
128
</para>
129
129
<para>
130
-
Passing the <literal>DB2_AUTOCOMMIT_OFF</literal> value turns
130
+
Passing the <constant>DB2_AUTOCOMMIT_OFF</constant> value turns
131
131
autocommit off for this connection handle.
132
132
</para>
133
133
</listitem>
...
...
@@ -136,15 +136,15 @@
136
136
<term><parameter>DB2_ATTR_CASE</parameter></term>
137
137
<listitem>
138
138
<para>
139
-
Passing the <literal>DB2_CASE_NATURAL</literal> value specifies
139
+
Passing the <constant>DB2_CASE_NATURAL</constant> value specifies
140
140
that column names are returned in natural case.
141
141
</para>
142
142
<para>
143
-
Passing the <literal>DB2_CASE_LOWER</literal> value specifies
143
+
Passing the <constant>DB2_CASE_LOWER</constant> value specifies
144
144
that column names are returned in lower case.
145
145
</para>
146
146
<para>
147
-
Passing the <literal>DB2_CASE_UPPER</literal> value specifies
147
+
Passing the <constant>DB2_CASE_UPPER</constant> value specifies
148
148
that column names are returned in upper case.
149
149
</para>
150
150
</listitem>
...
...
@@ -153,12 +153,12 @@
153
153
<term><parameter>CURSOR</parameter></term>
154
154
<listitem>
155
155
<para>
156
-
Passing the <literal>DB2_FORWARD_ONLY</literal> value specifies a
156
+
Passing the <constant>DB2_FORWARD_ONLY</constant> value specifies a
157
157
forward-only cursor for a statement resource. This is the default
158
158
cursor type and is supported on all database servers.
159
159
</para>
160
160
<para>
161
-
Passing the <literal>DB2_SCROLLABLE</literal> value specifies a
161
+
Passing the <constant>DB2_SCROLLABLE</constant> value specifies a
162
162
scrollable cursor for a statement resource. This mode enables
163
163
random access to rows in a result set, but currently is supported
164
164
only by IBM DB2 Universal Database.
...
...
@@ -435,7 +435,7 @@ db2set DB2COMM=TCPIP</literallayout>
435
435
<para>
436
436
A character value that indicates the library list that will be used for
437
437
resolving unqualified file references. Specify the library list
438
-
elements separated by blanks 'i5_libl'=>"MYLIB YOURLIB ANYLIB".
438
+
elements separated by blanks 'i5_libl'=&gt;"MYLIB YOURLIB ANYLIB".
439
439
</para>
440
440
<note>
441
441
<para>
...
...
@@ -680,7 +680,6 @@ User has been switched.
680
680

681
681

682
682
</refentry>
683
-

684
683
<!-- Keep this comment at the end of the file
685
684
Local variables:
686
685
mode: sgml
687
686