reference/cubrid/functions/cubrid-num-rows.xml
648875cf73af01acdb6afaa5ca38b0bf6631bf42
...
...
@@ -14,11 +14,11 @@
14
14
<methodparam><type>resource</type><parameter>result</parameter></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
-
The <function>cubrid_num_rows</function> function is used to get the
18
-
number of rows from the query result. You can use it only when the query
19
-
executed is a select statement. When you want to know such value for
20
-
INSERT, UPDATE, or DELETE query, you have to use the
21
-
<function>cubrid_affected_rows</function> function.
17
+
The <function>cubrid_num_rows</function> function is used to get the
18
+
number of rows from the query result.
19
+
It can be used for <literal>SELECT</literal> statements.
20
+
For <literal>INSERT</literal>, <literal>UPDATE</literal>, or <literal>DELETE</literal> queries,
21
+
use the <function>cubrid_affected_rows</function> function.
22
22
</para>
23
23
<para>
24
24
Note: The <function>cubrid_num_rows</function> function can only be used
25
25