Returns the number of rows in the result set.
Syntax
public
sacapi_i32
sqlany_num_rows
(
a_sqlany_stmt * sqlany_stmt)
Parameters
-
sqlany_stmt –
A statement object that was executed by sqlany_execute() or sqlany_execute_direct().
Returns
The number rows in the result set. If the number of rows is an estimate, the number returned is negative and the estimate is the absolute value of the returned integer. The value returned is positive if the number of rows is exact.
Usage
By default this function only returns an estimate. To return an exact count, set the row_counts option on the connection. For more information on the row_counts option, see row_counts option [database].