Setting the isolation level from an ODBC-enabled application

ODBC applications call SQLSetConnectAttr with Attribute set to SQL_ATTR_TXN_ISOLATION and ValuePtr set according to the corresponding isolation level:

 The ValuePtr parameter
 Changing an isolation level via ODBC
 Example

Changing isolation levels within a transaction