SQL_GetFieldCount Function

Retrieves the number of fields in the last result set.

int SQL_GetFieldCount(Handle query)

Parameters

Handle query

A query (or statement) Handle.

Return Value

Number of fields in the current result set.

Errors

Invalid query Handle.