--- title: "SQLGetStmtOption (Cursor Library) | Microsoft Docs" ms.custom: "" ms.date: "01/19/2017" ms.prod: sql ms.prod_service: connectivity ms.reviewer: "" ms.technology: connectivity ms.topic: conceptual helpviewer_keywords: - "SQLGetStmtOption function [ODBC], Cursor Library" ms.assetid: 986170b3-fba8-4323-9224-60b381c7effb author: David-Engel ms.author: v-daenge --- # SQLGetStmtOption (Cursor Library) > [!IMPORTANT] > This feature will be removed in a future version of Windows. Avoid using this feature in new development work and plan to modify applications that currently use this feature. Microsoft recommends using the driver's cursor functionality. This topic discusses the use of the **SQLGetStmtOption** function in the cursor library. For general information about **SQLGetStmtOption**, see [SQLGetStmtOption Function](../../../odbc/reference/syntax/sqlgetstmtoption-function.md). The cursor library supports the following statement options with **SQLGetStmtOption**: ||| |-|-| |SQL_BIND_TYPE|SQL_ROW_NUMBER| |SQL_CONCURRENCY|SQL_ROWSET_SIZE| |SQL_CURSOR_TYPE|SQL_SIMULATE_CURSOR| |SQL_GET_BOOKMARK||