SQLStatistics
SQLStatistics can be executed on a static cursor. An attempt to execute SQLStatistics on an updatable (keyset-driven or dynamic) returns SQL_SUCCESS_WITH_INFO indicating the cursor type is changed.
See Also
Concepts
ODBC API Implementation Details