Purpose
Returns or assigns an integer value indicating the ODBC cursor type of a statement.
Syntax
DBStatement.CursorType [= Constant]
Constant |
Possible values: |
|
SQL_CURSOR_FORWARD_ONLY |
The cursor only scrolls forward. This attribute can't be set on an open cursor. This is the default. |
|
SQL_CURSOR_KEYSET_DRIVEN |
The driver uses the keys for the number of rows specified in the SQL_KEYSET_SIZE statement option. |
|
SQL_CURSOR_DYNAMIC |
The driver only uses the keys for the rows in the rowset. |
|
SQL_CURSOR_STATIC |
The data in the result set is static. |
|
SQL_CURSOR_TYPE_DEFAULT |
|
|