Changes to SQLSetEnvAttr() attributes

For SQLSetEnvAttr() attributes, the ODBC driver supports both ODBC 2.0 and ODBC 3.0 values.

The following table lists the SQLSetEnvAttr() attribute values renamed in ODBC 3.0. The ODBC 3.0 attributes support all of the existing ODBC 2.0 attributes.

Table 1. SQLSetEnvAttr() attribute value mapping
ODBC 2.0 attribute ODBC 3.0 attribute
SQL_CONNECTTYPE SQL_ATTR_CONNECTTYPE
SQL_MAXCONN SQL_ATTR_MAXCONN
SQL_OUTPUT_NTS SQL_ATTR_OUTPUT_NTS