--- title: "SQLGetStmtAttr (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: - "SQLGetStmtAttr function [ODBC], Cursor Library" ms.assetid: 6c34e1ef-4273-4afb-a7d3-f9017ab69c5e author: David-Engel ms.author: v-daenge --- # SQLGetStmtAttr (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 **SQLGetStmtAttr** function in the cursor library. For general information about **SQLGetStmtAttr**, see [SQLGetStmtAttr Function](../../../odbc/reference/syntax/sqlgetstmtattr-function.md). The cursor library supports the following statement attributes with **SQLGetStmtAttr**: ||| |-|-| |SQL_ATTR_CONCURRENCY|SQL_ATTR_ROW_BIND_OFFSET_PTR| |SQL_ATTR_CURSOR_TYPE|SQL_ATTR_ROW_BIND_TYPE| |SQL_ATTR_FETCH_BOOKMARK_PTR|SQL_ATTR_ROW_NUMBER| |SQL_ATTR_PARAM_BIND_OFFSET_PTR|SQL_ATTR_ROW_ARRAY_SIZE| |SQL_ATTR_PARAM_BIND_TYPE|SQL_ATTR_SIMULATE_CURSOR|