2002-08-12 16:11:28 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
2004-08-13 16:12:06 +00:00
|
|
|
<!-- $Revision: 1.2 $ -->
|
2002-08-12 16:11:28 +00:00
|
|
|
<refentry id="function.odbc-data-source">
|
|
|
|
<refnamediv>
|
|
|
|
<refname>odbc_data_source</refname>
|
|
|
|
<refpurpose>Returns information about a current connection</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
<refsect1>
|
|
|
|
<title>Description</title>
|
|
|
|
<methodsynopsis>
|
|
|
|
<type>resource</type><methodname>odbc_data_source</methodname>
|
|
|
|
<methodparam><type>resource</type><parameter>connection_id</parameter></methodparam>
|
2004-08-13 16:12:06 +00:00
|
|
|
<methodparam><type>int</type><parameter>fetch_type</parameter></methodparam>
|
2002-08-12 16:11:28 +00:00
|
|
|
</methodsynopsis>
|
|
|
|
<para>
|
|
|
|
Returns &false; on error, and an array upon success.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
This function will return information about the active connection
|
|
|
|
following the information from within the DSN. The
|
|
|
|
<parameter>connection_id</parameter> is required to be a valid ODBC
|
|
|
|
connection. The <parameter>fetch_type</parameter> can be one of two
|
|
|
|
constant types: SQL_FETCH_FIRST, SQL_FETCH_NEXT. Use SQL_FETCH_FIRST the
|
|
|
|
first time this function is called, thereafter use the SQL_FETCH_NEXT.
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
</refentry>
|
|
|
|
|
|
|
|
<!-- 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
|
|
|
|
-->
|