Indicates whether the current statement returned rows.
RETCODE dbrows ( PDBPROCESS dbproc );
SUCCEED or FAIL.
Call dbrows after dbresults returns SUCCEED. Note that dbrows should be called before dbnextrow; otherwise, dbrows returns an incorrect value. Use dbcmdrow to determine whether the current statement can return rows (that is, a Transact-SQL SELECT or EXECUTE statement on a stored procedure containing a SELECT statement).
Even if dbrows returns FAIL, you must still process the results by calling dbnextrow until it returns NO_MORE_ROWS.
dbcmdrow | dbresults |
dbnextrow | dbrowtype |