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.
請參閱
概念
ODBC API Implementation Details