The Microsoft® SQL Server™ ODBC driver uses the catalog stored procedure sp_statistics to provide results for 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 has been changed.