--- title: "SQLStatistics | Microsoft Docs" ms.custom: "" ms.date: "06/13/2017" ms.prod: "sql-server-2014" ms.reviewer: "" ms.technology: native-client ms.topic: "reference" topic_type: - "apiref" helpviewer_keywords: - "SQLStatistics function" ms.assetid: e60101ae-a5f5-432f-a32a-d8e6fb0cbde8 author: MightyPen ms.author: genemi manager: craigg --- # 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 [SQLStatistics Function](https://go.microsoft.com/fwlink/?LinkId=59372) [ODBC API Implementation Details](odbc-api-implementation-details.md)