The SQLSetScrollOptions function allows the caller to set options that control cursor behavior. In ODBC 2.0, these options have been superseded by the corresponding options in the SQLSetStmtOption function and are only supported for backward compatibility. The options fall into three categories as follows.
Option | Value |
---|---|
Concurrency control | SQL_CONCUR_READ_ONLY SQL_CONCUR_LOCK SQL_CONCUR_ROWVER SQL_CONCUR_VALUES |
Sensitivity | SQL_CURSOR_FORWARD_ONLY SQL_CURSOR_STATIC SQL_CURSOR_KEYSET_DRIVEN SQL_CURSOR_DYNAMIC |
Rowset size | Integer value |