SQL_GetRowCount Function

Retrieves the number of rows in the last result set.

int SQL_GetRowCount(Handle query)

Parameters

Handle query

A query (or statement) Handle.

Return Value

Number of rows in the current result set.

Errors

Invalid query Handle.