Cursor Concurrency (ODBC)

Applies to: yesSQL Server (all supported versions) YesAzure SQL Database YesAzure SQL Managed Instance yesAzure Synapse Analytics yesParallel Data Warehouse

Cursor operations, like cursor types, are affected by the concurrency options set by the application. Concurrency options are set using the SQL_ATTR_CONCURRENCY option of SQLSetStmtAttr. The concurrency types are:

  • Read-only (SQL_CONCUR_READONLY)

  • Values (SQL_CONCUR_VALUES)

  • Row version (SQL_CONCUR_ROWVER)

  • Lock (SQL_CONCUR_LOCK)

See Also

Cursor Properties