Cursor Concurrency

ODBC and SQL Server

ODBC and SQL Server

Cursor Concurrency

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)

For more information about the types of locks generated by these concurrency options, see Cursor Concurrency.

See Also

SQLSetStmtAttr