mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-22 11:58:55 +00:00
58 lines
1.8 KiB
XML
58 lines
1.8 KiB
XML
![]() |
<?xml version="1.0" encoding="iso-8859-1"?>
|
||
|
<!-- splitted from ./en/functions/sybase.xml, last change in rev 1.2 -->
|
||
|
<refentry id="function.sybase-affected-rows">
|
||
|
<refnamediv>
|
||
|
<refname>sybase_affected_rows</refname>
|
||
|
<refpurpose>get number of affected rows in last query</refpurpose>
|
||
|
</refnamediv>
|
||
|
<refsect1>
|
||
|
<title>Description</title>
|
||
|
<methodsynopsis>
|
||
|
<type>int</type><methodname>sybase_affected_rows</methodname>
|
||
|
<methodparam choice="opt"><type>int</type><parameter>link_identifier
|
||
|
</parameter></methodparam>
|
||
|
</methodsynopsis>
|
||
|
<para>
|
||
|
Returns: The number of affected rows by the last query.
|
||
|
</para>
|
||
|
<para>
|
||
|
<function>sybase_affected_rows</function> returns the number of
|
||
|
rows affected by the last INSERT, UPDATE or DELETE query on the
|
||
|
server associated with the specified link identifier. If the
|
||
|
link identifier isn't specified, the last opened link is assumed.
|
||
|
</para>
|
||
|
<para>
|
||
|
This command is not effective for SELECT statements, only on
|
||
|
statements which modify records. To retrieve the number of rows
|
||
|
returned from a SELECT, use <function>sybase_num_rows</function>.
|
||
|
<note>
|
||
|
<para>
|
||
|
This function is only available using the CT library interface
|
||
|
to Sybase, and not the DB library.
|
||
|
</para>
|
||
|
</note>
|
||
|
</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
|
||
|
-->
|