SQL_HasResultSet Function

Returns whether or not a result set exists. This will return true even if 0 results were returned, but false on queries like UPDATE, INSERT, or DELETE.

bool SQL_HasResultSet(Handle query)

Parameters

Handle query

A query (or statement) Handle.

Return Value

True if there is a result set, false otherwise.

Errors

Invalid query Handle.