Chapter 3: ODBC Driver Conformance
3.3 Supported Environment, Connection, and Statement Attributes
Table 3–2 details the driver attributes that the Dharma/SQL ODBC Driver supports. Applications can set and retrieve supported driver attributes through the following routines:
- SQLGetEnvAttr and SQLSetEnvAttr for environment attributes
- SQLGetConnectAttr and SQLSetConnectAttr for connection attributes
- SQLGetStmtAttr and SQLSetStmtAttr for statement attributes
| Attribute | Supported? |
|---|---|
| ODBC Environment Attributes | |
| SQL_ | No |
| SQL_ | No |
| SQL_ | Yes |
| SQL_ | Yes |
| ODBC Connection Attributes | |
| SQL_ | Yes (supports both read_only and read_write connection modes) |
| SQL_ | Yes (supports only SQL_ |
| SQL_ | Yes |
| SQL_ | Yes |
| SQL_ | Yes (supports only 0, for other values returns warning “Option value changed” and sets to default) |
| SQL_ | No |
| SQL_ | Yes (supports only 0, for other values returns warning “Option value changed” and sets to default) |
| SQL_ | Yes |
| SQL_ | Yes (supports only default, for other values returns warning “Option value changed” and sets to default) |
| SQL_ | Yes (supports only default, for other values returns warning “Option value changed” and sets to default) |
| SQL_ATTR_TRACE | No |
| SQL_ | No |
| SQL_ | No |
| SQL_ | No |
| SQL_ | No |
| SQL_ | Yes |
| ODBC Statement Attributes | |
| SQL_ | Yes |
| SQL_ | Yes |
| SQL_ | Yes (supports only SQL_ |
| SQL_ | Yes (supports only SQL_ |
| SQL_ | No |
| SQL_ | Yes (supports only SQL_ |
| SQL_ | Yes (supports only SQL_INSENSITIVE, for other values returns warning “Option value changed” and sets to default) |
| SQL_ | No |
| SQL_ | No |
| SQL_ | Yes |
| SQL_ | Yes |
| SQL_ | No |
| SQL_ | No |
| SQL_ | Yes |
| SQL_ | Yes |
| SQL_ATTR_NOSCAN | No |
| SQL_ | Yes |
| SQL_ | Yes |
| SQL_ | Yes |
| SQL_ | Yes |
| SQL_ | Yes |
| SQL_ | Yes |
| SQL_ | Yes (supports only 0, for other values returns warning “Option value changed” and sets to default) |
| SQL_ | Yes |
| SQL_ | Yes |
| SQL_ | Yes |
| SQL_ | Yes |
| SQL_ | No |
| SQL_ | Yes |
| SQL_ | Yes |
| SQL_ | Yes |
| SQL_ | No |
| SQL_ | No |