CVS update: php3/doc/functions
| From: | eschmid | Date: | Fri, 19 Feb 1999 17:48:35 +0000 |
| Subject: | CVS update: php3/doc/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-4165@lists.php.net to get a copy of this message | ||
Date: Friday February 19, 1999 @ 12:48
Author: eschmid
Update of /repository/php3/doc/functions
In directory asf:/u/temp/cvs-serv6157
Modified Files:
oci8.sgml
Log Message:
Minor corrections.
Index: php3/doc/functions/oci8.sgml
diff -c php3/doc/functions/oci8.sgml:1.3 php3/doc/functions/oci8.sgml:1.4
*** php3/doc/functions/oci8.sgml:1.3 Fri Feb 19 11:36:38 1999
--- php3/doc/functions/oci8.sgml Fri Feb 19 12:48:34 1999
***************
*** 1,5 ****
! <reference id="ref.oracle">
<title>Oracle 8 functions</title>
<titleabbrev>OCI8</titleabbrev>
--- 1,5 ----
! <reference id="ref.oci8">
<title>Oracle 8 functions</title>
<titleabbrev>OCI8</titleabbrev>
***************
*** 46,61 ****
<paramdef>int
<parameter><optional>type</optional></parameter></paramdef>
</funcsynopsis>
<para>
! <function>OCIDefineByName</function> uses fetches SQL-Columns into user-defined
! PHP-Variables. Be careful that Oracle user ALL-UPPERCASE column-names, whereby in
! your select you can also write lower-case. <function>OCIDefineByName</function>
! expects the <parameter>Column-Name</parameter> to be in uppercase. If you define
a
! variable that doesn't exists in you select statement, no error will be given!
</para>
<para>
! If you need to define an abstract Datatype (LOB/ROWID/BFILE) you need to allocate it first
! using <function>OCINewDescriptor</function> function. See also the
<function>OCIBindByName</function>
! function.
</para>
<example>
<title>OCIDefineByName</title>
--- 46,64 ----
<paramdef>int
<parameter><optional>type</optional></parameter></paramdef>
</funcsynopsis>
<para>
! <function>OCIDefineByName</function> uses fetches SQL-Columns
! into user-defined PHP-Variables. Be careful that Oracle user
! ALL-UPPERCASE column-names, whereby in your select you can also
! write lower-case. <function>OCIDefineByName</function> expects
! the <parameter>Column-Name</parameter> to be in uppercase. If you
! define a variable that doesn't exists in you select statement, no
! error will be given!
</para>
<para>
! If you need to define an abstract Datatype (LOB/ROWID/BFILE) you
! need to allocate it first using
! <function>OCINewDescriptor</function> function. See also the
! <function>OCIBindByName</function> function.
</para>
<example>
<title>OCIDefineByName</title>
***************
*** 106,123 ****
<parameter>variable</parameter> to the Oracle placeholder
<parameter>ph_name</parameter>. Whether it will be used for
input or output will be determined run-time, and the necessary
! storage space will be allocated. The <parameter>length</parameter>
! paramter sets the maximum length for the bind. If you set
<parameter>length</parameter>
! to -1 <function>OCIBindByName</function> will use the current length of
! <parameter>variable</parameter> to set the maximum length.
</para>
<para>
! If you need to bind an abstract Datatype (LOB/ROWID/BFILE) you need to allocate it first
! using <function>OCINewDescriptor</function> function. The
<parameter>length</parameter>
! is not used for abstract Datatypes and should be set to -1. The
<paramter>type</parameter>
! variable tells oracle, what kind of descriptor we want to use. Possible values are:
! SQLT_BFILEE (Binary-File), SQLT_CFILEE (Character-File), SQLT_CLOB (Character-LOB), SQLT_BLOB
! (Binary-LOB) and SQLT_RDD (ROWID).
</para>
</refsect1>
</refentry>
--- 109,130 ----
<parameter>variable</parameter> to the Oracle placeholder
<parameter>ph_name</parameter>. Whether it will be used for
input or output will be determined run-time, and the necessary
! storage space will be allocated. The
! <parameter>length</parameter> paramter sets the maximum length
! for the bind. If you set <parameter>length</parameter> to -1
! <function>OCIBindByName</function> will use the current length of
! <parameter>variable</parameter> to set the maximum length.
</para>
<para>
! If you need to bind an abstract Datatype (LOB/ROWID/BFILE) you
! need to allocate it first using
! <function>OCINewDescriptor</function> function. The
! <parameter>length</parameter> is not used for abstract Datatypes
! and should be set to -1. The <parameter>type</parameter> variable
! tells oracle, what kind of descriptor we want to use. Possible
! values are: SQLT_BFILEE (Binary-File), SQLT_CFILEE
! (Character-File), SQLT_CLOB (Character-LOB), SQLT_BLOB
! (Binary-LOB) and SQLT_RDD (ROWID).
</para>
</refsect1>
</refentry>
***************
*** 156,165 ****
</funcsynopsis>
<para>
<function>OCIColumnName</function> returns the name of the column
! as given by Oracle.
!
! column <parameter>col</parameter> in the result from the
! statement <parameter>stmt</parameter> is NULL.
</para>
</refsect1>
</refentry>
--- 163,170 ----
</funcsynopsis>
<para>
<function>OCIColumnName</function> returns the name of the column
! as given by Oracle. column <parameter>col</parameter> in the
! result from the statement <parameter>stmt</parameter> is NULL.
</para>
</refsect1>
</refentry>
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net