This variable prevents the Microsoft cursor library from loading. When loaded, this library removes the FOR UPDATE clause from SELECT statements resulting in records not being locked. To prevent this, set ACUSQL_ODBC_CURSORS to 0, which will block the library from loading. The default value is 1, and will allow the Microsoft cursor library to load.

Note: The effect on your application is application and ODBC driver dependent. Refer to the Microsoft documentation and the documentation from your driver vendor.