cvs: phpdoc /en/reference/uodbc/functions odbc-gettypeinfo.xml odbc-pconnect.xml odbc-prepare.xml odbc-procedurecolumns.xml odbc-procedures.xml
odbc-result.xml odbc-setoption.xml odbc-specialcolumns.xml odbc-statistics.xml

From: Date: Tue, 20 May 2008 22:37:38 +0000
Subject: cvs: phpdoc /en/reference/uodbc/functions odbc-gettypeinfo.xml odbc-pconnect.xml odbc-prepare.xml odbc-procedurecolumns.xml odbc-procedures.xml
odbc-result.xml odbc-setoption.xml odbc-specialcolumns.xml odbc-statistics.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-1664@lists.php.net to get a copy of this message
philip Tue May 20 22:37:38 2008 UTC Modified files: /phpdoc/en/reference/uodbc/functions odbc-gettypeinfo.xml odbc-pconnect.xml odbc-prepare.xml odbc-procedurecolumns.xml odbc-procedures.xml odbc-result.xml odbc-setoption.xml odbc-specialcolumns.xml odbc-statistics.xml Log: finished new doc style implementation

http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/uodbc/functions/odbc-gettypeinfo.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/uodbc/functions/odbc-gettypeinfo.xml diff -u phpdoc/en/reference/uodbc/functions/odbc-gettypeinfo.xml:1.7 phpdoc/en/reference/uodbc/functions/odbc-gettypeinfo.xml:1.8 --- phpdoc/en/reference/uodbc/functions/odbc-gettypeinfo.xml:1.7 Tue May 20 15:36:08 2008 +++ phpdoc/en/reference/uodbc/functions/odbc-gettypeinfo.xml Tue May 20 22:37:38 2008 @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <refentry xml:id="function.odbc-gettypeinfo" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>odbc_gettypeinfo</refname> - <refpurpose>Returns a result identifier containing information about data types supported by the data source</refpurpose> + <refpurpose>Retrieves information about data types supported by the data source</refpurpose> </refnamediv> <refsect1 role="description"> @@ -14,11 +14,38 @@ <methodparam choice="opt"><type>int</type><parameter>data_type</parameter></methodparam> </methodsynopsis> <para> - Retrieves information about data types supported by the data - source. Returns an ODBC result identifier or - &false; on failure. The optional argument - <parameter>data_type</parameter> can be used to restrict the - information to a single data type. + Retrieves information about data types supported by the data source. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>connection_id</parameter></term> + <listitem> + &odbc.connection.id; + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>data_type</parameter></term> + <listitem> + <para> + The data type, which can be used to restrict the information to a + single data type. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns an ODBC result identifier or + &false; on failure. </para> <para> The result set has the following columns: @@ -40,9 +67,11 @@ <listitem><simpara>MAXIMUM_SCALE</simpara></listitem> </itemizedlist> </para> - <simpara>The result set is ordered by DATA_TYPE and TYPE_NAME. - </simpara> + <para> + The result set is ordered by DATA_TYPE and TYPE_NAME. + </para> </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/uodbc/functions/odbc-pconnect.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/uodbc/functions/odbc-pconnect.xml diff -u phpdoc/en/reference/uodbc/functions/odbc-pconnect.xml:1.6 phpdoc/en/reference/uodbc/functions/odbc-pconnect.xml:1.7 --- phpdoc/en/reference/uodbc/functions/odbc-pconnect.xml:1.6 Tue May 20 15:36:08 2008 +++ phpdoc/en/reference/uodbc/functions/odbc-pconnect.xml Tue May 20 22:37:38 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry xml:id="function.odbc-pconnect" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>odbc_pconnect</refname> @@ -16,8 +16,10 @@ <methodparam choice="opt"><type>int</type><parameter>cursor_type</parameter></methodparam> </methodsynopsis> <para> - Returns an ODBC connection id or 0 (&false;) on - error. This function is much like + Opens a persistent database connection. + </para> + <para> + This function is much like <function>odbc_connect</function>, except that the connection is not really closed when the script has finished. Future requests for a connection with the same <parameter>dsn</parameter>, @@ -26,20 +28,43 @@ <function>odbc_pconnect</function>) can reuse the persistent connection. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; <para> - <note> - <simpara> - Persistent connections have no effect if PHP is used as a CGI - program. - </simpara> - </note> + See <function>odbc_connect</function> for details. </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; <para> - For information about the optional cursor_type parameter see the - <function>odbc_connect</function> function. For more information - on persistent connections, refer to the PHP FAQ. + Returns an ODBC connection id or 0 (&false;) on + error. </para> </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; + <note> + <simpara> + Persistent connections have no effect if PHP is used as a CGI + program. + </simpara> + </note> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>odbc_connect</function></member> + <member><link linkend="features.persistent-connections">Persistent Database Connections</link></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/uodbc/functions/odbc-prepare.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/uodbc/functions/odbc-prepare.xml diff -u phpdoc/en/reference/uodbc/functions/odbc-prepare.xml:1.6 phpdoc/en/reference/uodbc/functions/odbc-prepare.xml:1.7 --- phpdoc/en/reference/uodbc/functions/odbc-prepare.xml:1.6 Tue May 20 15:36:08 2008 +++ phpdoc/en/reference/uodbc/functions/odbc-prepare.xml Tue May 20 22:37:38 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry xml:id="function.odbc-prepare" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>odbc_prepare</refname> @@ -14,12 +14,8 @@ <methodparam><type>string</type><parameter>query_string</parameter></methodparam> </methodsynopsis> <para> - Returns &false; on error. - </para> - <para> - Returns an ODBC result identifier if the SQL command was prepared - successfully. The result identifier can be used later to execute - the statement with <function>odbc_execute</function>. + Prepares a statement for execution. The result identifier can be used + later to execute the statement with <function>odbc_execute</function>. </para> <para> Some databases (such as IBM DB2, MS SQL Server, and Oracle) support @@ -27,26 +23,68 @@ defined by the ODBC specification. However, the Unified ODBC driver currently only supports parameters of type IN to stored procedures. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>connection_id</parameter></term> + <listitem> + &odbc.connection.id; + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>query_string</parameter></term> + <listitem> + <para> + The query string statement being prepared. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns an ODBC result identifier if the SQL command was prepared + successfully. Returns &false; on error. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> - In the following code, <varname>$res</varname> will only be - valid if all three parameters to myproc are IN parameters: - <programlisting role='php'> -<![CDATA[<?php + <example> + <title><function>odbc_prepare</function> example</title> + <para> + In the following code, <varname>$res</varname> will only be + valid if all three parameters to myproc are IN parameters: + </para> + <programlisting role="php"> +<![CDATA[ +<?php $a = 1; $b = 2; $c = 3; $stmt = odbc_prepare($conn, 'CALL myproc(?,?,?)'); -$res = odbc_execute($stmt, array($a, $b, $c)); +$res = odbc_execute($stmt, array($a, $b, $c)); ?> ]]> - </programlisting> + </programlisting> + </example> + </para> + <para> If you need to call a stored procedure using INOUT or OUT parameters, the recommended workaround is to use a native extension for your database (for example, <link linkend='ref.mssql'>mssql</link> for MS SQL Server, or <link linkend='ref.mssql'>oci8</link> for Oracle). </para> - </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/uodbc/functions/odbc-procedurecolumns.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/uodbc/functions/odbc-procedurecolumns.xml diff -u phpdoc/en/reference/uodbc/functions/odbc-procedurecolumns.xml:1.7 phpdoc/en/reference/uodbc/functions/odbc-procedurecolumns.xml:1.8 --- phpdoc/en/reference/uodbc/functions/odbc-procedurecolumns.xml:1.7 Tue May 20 15:36:08 2008 +++ phpdoc/en/reference/uodbc/functions/odbc-procedurecolumns.xml Tue May 20 22:37:38 2008 @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- splitted from ./en/functions/uodbc.xml, last change in rev 1.3 --> +<!-- $Revision: 1.8 $ --> <refentry xml:id="function.odbc-procedurecolumns" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>odbc_procedurecolumns</refname> @@ -22,9 +21,65 @@ <methodparam><type>string</type><parameter>column</parameter></methodparam> </methodsynopsis> <para> + Retrieve information about parameters to procedures. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>connection_id</parameter></term> + <listitem> + &odbc.connection.id; + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>qualifier</parameter></term> + <listitem> + <para> + The qualifier. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>owner</parameter></term> + <listitem> + <para> + The owner. + &odbc.parameter.search; + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>proc</parameter></term> + <listitem> + <para> + The proc. + &odbc.parameter.search; + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>column</parameter></term> + <listitem> + <para> + The column. + &odbc.parameter.search; + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> Returns the list of input and output parameters, as well as the - columns that make up the result set for the specified procedures. Returns - an ODBC result identifier or &false; on failure. + columns that make up the result set for the specified procedures. + Returns an ODBC result identifier or &false; on failure. </para> <para> The result set has the following columns: @@ -44,16 +99,12 @@ <listitem><simpara>REMARKS</simpara></listitem> </itemizedlist> </para> - <simpara>The result set is ordered by PROCEDURE_QUALIFIER, PROCEDURE_OWNER, + <simpara> + The result set is ordered by PROCEDURE_QUALIFIER, PROCEDURE_OWNER, PROCEDURE_NAME and COLUMN_TYPE. </simpara> - <para> - The <parameter>owner</parameter>, <parameter>proc</parameter> and - <parameter>column</parameter> arguments accept search patterns - ('%' to match zero or more characters and '_' to match a single - character). - </para> </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/uodbc/functions/odbc-procedures.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/uodbc/functions/odbc-procedures.xml diff -u phpdoc/en/reference/uodbc/functions/odbc-procedures.xml:1.8 phpdoc/en/reference/uodbc/functions/odbc-procedures.xml:1.9 --- phpdoc/en/reference/uodbc/functions/odbc-procedures.xml:1.8 Tue May 20 15:36:08 2008 +++ phpdoc/en/reference/uodbc/functions/odbc-procedures.xml Tue May 20 22:37:38 2008 @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- splitted from ./en/functions/uodbc.xml, last change in rev 1.3 --> +<!-- $Revision: 1.9 $ --> <refentry xml:id="function.odbc-procedures" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>odbc_procedures</refname> @@ -21,7 +20,54 @@ <methodparam><type>string</type><parameter>name</parameter></methodparam> </methodsynopsis> <para> - Lists all procedures in the requested range. Returns an ODBC + Lists all procedures in the requested range. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>connection_id</parameter></term> + <listitem> + &odbc.connection.id; + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>qualifier</parameter></term> + <listitem> + <para> + The qualifier. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>owner</parameter></term> + <listitem> + <para> + The owner. + &odbc.parameter.search; + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>name</parameter></term> + <listitem> + <para> + The name. + &odbc.parameter.search; + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns an ODBC result identifier containing the information or &false; on failure. </para> <para> @@ -37,12 +83,8 @@ <listitem><simpara>PROCEDURE_TYPE</simpara></listitem> </itemizedlist> </para> - <para> - The <parameter>owner</parameter> and <parameter>name</parameter> - arguments accept search patterns ('%' to match zero or more - characters and '_' to match a single character). - </para> </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/uodbc/functions/odbc-result.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/uodbc/functions/odbc-result.xml diff -u phpdoc/en/reference/uodbc/functions/odbc-result.xml:1.9 phpdoc/en/reference/uodbc/functions/odbc-result.xml:1.10 --- phpdoc/en/reference/uodbc/functions/odbc-result.xml:1.9 Tue May 20 15:36:08 2008 +++ phpdoc/en/reference/uodbc/functions/odbc-result.xml Tue May 20 22:37:38 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <refentry xml:id="function.odbc-result" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>odbc_result</refname> @@ -14,24 +14,46 @@ <methodparam><type>mixed</type><parameter>field</parameter></methodparam> </methodsynopsis> <para> - Returns the string contents of the field, &false; on error, &null; for - NULL data, or &true; for binary data. + Get result data </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; <para> - <parameter>field</parameter> can either be an integer containing - the column number of the field you want; or it can be a string - containing the name of the field. For example: - <informalexample> - <programlisting role="php"> -<![CDATA[ -<?php -$item_3 = odbc_result($Query_ID, 3); -$item_val = odbc_result($Query_ID, "val"); -?> -]]> - </programlisting> - </informalexample> + <variablelist> + <varlistentry> + <term><parameter>result_id</parameter></term> + <listitem> + <para> + The ODBC <type>resource</type>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>field</parameter></term> + <listitem> + <para> + The field name being retrieved. It can either be an integer containing + the column number of the field you want; or it can be a string + containing the name of the field. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns the string contents of the field, &false; on error, &null; for + NULL data, or &true; for binary data. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> The first call to <function>odbc_result</function> returns the value of the third field in the current record of the query @@ -45,24 +67,40 @@ is(are) being queried. </para> <para> + <example> + <title><function>odbc_result</function> examples</title> + <programlisting role="php"> +<![CDATA[ +<?php +$item_3 = odbc_result($Query_ID, 3); +$item_val = odbc_result($Query_ID, "val"); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; + <para> Field indices start from 1. Regarding the way binary or long column data is returned refer to <function>odbc_binmode</function> and <function>odbc_longreadlen</function>. + <!-- -<!-- - -If the requested field contains - binary data or is of datatype LONG, -longer than 4096 bytes, the contents is not - returned, instead it is sent directly to the client. Hint: If you - need to have binary data returned, use the SQL function HEX() to - retrieve the field in hexadecimal notation. E.g. "SELECT - HEX(binary_col) FROM mytable" ---> - + If the requested field contains + binary data or is of datatype LONG, + longer than 4096 bytes, the contents is not + returned, instead it is sent directly to the client. Hint: If you + need to have binary data returned, use the SQL function HEX() to + retrieve the field in hexadecimal notation. E.g. "SELECT + HEX(binary_col) FROM mytable" + --> </para> </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/uodbc/functions/odbc-setoption.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc/en/reference/uodbc/functions/odbc-setoption.xml diff -u phpdoc/en/reference/uodbc/functions/odbc-setoption.xml:1.10 phpdoc/en/reference/uodbc/functions/odbc-setoption.xml:1.11 --- phpdoc/en/reference/uodbc/functions/odbc-setoption.xml:1.10 Tue May 20 15:36:08 2008 +++ phpdoc/en/reference/uodbc/functions/odbc-setoption.xml Tue May 20 22:37:38 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <refentry xml:id="function.odbc-setoption" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>odbc_setoption</refname> @@ -35,27 +35,64 @@ to use a commercial product, that's all that really matters. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; <para> - &return.success; - </para> - <para> - <parameter>id</parameter> is a connection id or result id on - which to change the settings.For SQLSetConnectOption(), this is a - connection id. For SQLSetStmtOption(), this is a result - id. + <variablelist> + <varlistentry> + <term><parameter>id</parameter></term> + <listitem> + <para> + Is a connection id or result id on which to change the settings. + For SQLSetConnectOption(), this is a connection id. + For SQLSetStmtOption(), this is a result id. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>function</parameter></term> + <listitem> + <para> + Is the ODBC function to use. The value should be + 1 for SQLSetConnectOption() and + 2 for SQLSetStmtOption(). + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>option</parameter></term> + <listitem> + <para> + The option to set. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>param</parameter></term> + <listitem> + <para> + The value for the given <parameter>option</parameter>. + </para> + </listitem> + </varlistentry> + </variablelist> </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; <para> - <parameter>Function</parameter> is the ODBC function to use. The - value should be 1 for SQLSetConnectOption() and 2 for - SQLSetStmtOption(). + &return.success;. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> - Parameter <parameter>option</parameter> is the option to set.</para> - <para> - Parameter <parameter>param</parameter> is the value for the - given <parameter>option</parameter>. <example> - <title>ODBC Setoption Examples</title> + <title><function>odbc_setoption</function> examples</title> <programlisting role="php"> <![CDATA[ <?php @@ -78,6 +115,7 @@ </example> </para> </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/uodbc/functions/odbc-specialcolumns.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/uodbc/functions/odbc-specialcolumns.xml diff -u phpdoc/en/reference/uodbc/functions/odbc-specialcolumns.xml:1.9 phpdoc/en/reference/uodbc/functions/odbc-specialcolumns.xml:1.10 --- phpdoc/en/reference/uodbc/functions/odbc-specialcolumns.xml:1.9 Tue May 20 15:36:08 2008 +++ phpdoc/en/reference/uodbc/functions/odbc-specialcolumns.xml Tue May 20 22:37:38 2008 @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <refentry xml:id="function.odbc-specialcolumns" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>odbc_specialcolumns</refname> - <refpurpose>Returns either the optimal set of columns that uniquely identifies a row in the table or columns that are automatically updated when any value in the row is updated by a transaction</refpurpose> + <refpurpose>Retrieves special columns</refpurpose> </refnamediv> <refsect1 role="description"> @@ -18,21 +18,89 @@ <methodparam><type>int</type><parameter>scope</parameter></methodparam> <methodparam><type>int</type><parameter>nullable</parameter></methodparam> </methodsynopsis> - <simpara> - When the type argument is SQL_BEST_ROWID, - <function>odbc_specialcolumns</function> returns the - column or columns that uniquely identify each row in the table. - </simpara> - <simpara> - When the type argument is SQL_ROWVER, - <function>odbc_specialcolumns</function> returns the column or columns in the - specified table, if any, that are automatically updated by the data source - when any value in the row is updated by any transaction. - </simpara> - <simpara> + <para> + Retrieves either the optimal set of columns that uniquely identifies a + row in the table, or columns that are automatically updated when any + value in the row is updated by a transaction. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>connection_id</parameter></term> + <listitem> + &odbc.connection.id; + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>type</parameter></term> + <listitem> + <simpara> + When the type argument is <constant>SQL_BEST_ROWID</constant>, + <function>odbc_specialcolumns</function> returns the + column or columns that uniquely identify each row in the table. + </simpara> + <simpara> + When the type argument is <constant>SQL_ROWVER</constant>, + <function>odbc_specialcolumns</function> returns the column or columns in the + specified table, if any, that are automatically updated by the data source + when any value in the row is updated by any transaction. + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>qualifier</parameter></term> + <listitem> + <para> + The qualifier. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>owner</parameter></term> + <listitem> + <para> + The owner. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>table</parameter></term> + <listitem> + <para> + The table. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>scope</parameter></term> + <listitem> + <para> + The scope, which orders the result set. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>nullable</parameter></term> + <listitem> + <para> + The nullable option. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> Returns an ODBC result identifier or &false; on failure. - </simpara> + </para> <para> The result set has the following columns: <itemizedlist> @@ -46,10 +114,8 @@ <listitem><simpara>PSEUDO_COLUMN</simpara></listitem> </itemizedlist> </para> - <simpara> - The result set is ordered by SCOPE. - </simpara> </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/uodbc/functions/odbc-statistics.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/uodbc/functions/odbc-statistics.xml diff -u phpdoc/en/reference/uodbc/functions/odbc-statistics.xml:1.6 phpdoc/en/reference/uodbc/functions/odbc-statistics.xml:1.7 --- phpdoc/en/reference/uodbc/functions/odbc-statistics.xml:1.6 Tue May 20 15:36:08 2008 +++ phpdoc/en/reference/uodbc/functions/odbc-statistics.xml Tue May 20 22:37:38 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry xml:id="function.odbc-statistics" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>odbc_statistics</refname> @@ -18,8 +18,68 @@ <methodparam><type>int</type><parameter>accuracy</parameter></methodparam> </methodsynopsis> <para> - Get statistics about a table and its indexes. Returns an ODBC - result identifier or &false; on failure. + Get statistics about a table and its indexes. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>connection_id</parameter></term> + <listitem> + &odbc.connection.id; + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>qualifier</parameter></term> + <listitem> + <para> + The qualifier. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>owner</parameter></term> + <listitem> + <para> + The owner. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>table_name</parameter></term> + <listitem> + <para> + The table name. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>unique</parameter></term> + <listitem> + <para> + The unique attribute. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>accuracy</parameter></term> + <listitem> + <para> + The accuracy. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns an ODBC result identifier or &false; on failure. </para> <para> The result set has the following columns: @@ -44,6 +104,7 @@ INDEX_NAME and SEQ_IN_INDEX. </simpara> </refsect1> + </refentry> <!-- Keep this comment at the end of the file
« previous php.doc.cvs (#1664) next »