# some cursor attributes
odbc 3
reset

attr SQL_ATTR_CURSOR_TYPE         SQL_CURSOR_FORWARD_ONLY
attr SQL_ATTR_CURSOR_SCROLLABLE   SQL_NONSCROLLABLE
attr SQL_ATTR_CONCURRENCY         SQL_CONCUR_READ_ONLY
attr SQL_ATTR_CURSOR_SENSITIVITY  SQL_INSENSITIVE

set  SQL_ATTR_CURSOR_SENSITIVITY  SQL_SENSITIVE

attr SQL_ATTR_CURSOR_TYPE         SQL_CURSOR_FORWARD_ONLY
attr SQL_ATTR_CURSOR_SCROLLABLE   SQL_NONSCROLLABLE
attr SQL_ATTR_CONCURRENCY         SQL_CONCUR_ROWVER
attr SQL_ATTR_CURSOR_SENSITIVITY  SQL_SENSITIVE

# Check for SQL_ATTR_QUERY_TIMEOUT attribute.
#
# fefault value if not set
attr SQL_ATTR_QUERY_TIMEOUT	0

# set some value
set SQL_ATTR_QUERY_TIMEOUT	123
attr SQL_ATTR_QUERY_TIMEOUT	123

# set maximum value
set SQL_ATTR_QUERY_TIMEOUT	65534
attr SQL_ATTR_QUERY_TIMEOUT	65534

# set over maximum
set SQL_ATTR_QUERY_TIMEOUT	65535
attr SQL_ATTR_QUERY_TIMEOUT	65534
