mirror of
https://github.com/macintoshplus/doc-en.git
synced 2026-04-28 11:13:24 +02:00
5b9fc29465
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78496 c90b9560-bf6c-de11-be94-00142212c4b1
55 lines
1.7 KiB
XML
55 lines
1.7 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.2 $ -->
|
|
<!-- splitted from ./en/functions/uodbc.xml, last change in rev 1.2 -->
|
|
<refentry id="function.odbc-exec">
|
|
<refnamediv>
|
|
<refname>odbc_exec</refname>
|
|
<refpurpose>Prepare and execute a SQL statement</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>resource</type><methodname>odbc_exec</methodname>
|
|
<methodparam><type>resource</type><parameter>connection_id</parameter></methodparam>
|
|
<methodparam><type>string</type><parameter>query_string</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
Returns &false; on error. Returns an ODBC
|
|
result identifier if the SQL command was executed successfully.
|
|
</para>
|
|
<para>
|
|
<function>odbc_exec</function> will send an SQL statement to the
|
|
database server specified by
|
|
<parameter>connection_id</parameter>. This parameter must be a
|
|
valid identifier returned by <function>odbc_connect</function> or
|
|
<function>odbc_pconnect</function>.
|
|
</para>
|
|
<simpara>
|
|
See also: <function>odbc_prepare</function> and
|
|
<function>odbc_execute</function> for multiple execution of SQL
|
|
statements.
|
|
</simpara>
|
|
</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
|
|
-->
|