Connection properties for Distributed Transaction support

The following describes the Connection properties:

To summarize, if you open two database connections to the same ASE server and then enlist these connections in the same distributed transaction, you must set TightlyCoupledTransaction=1. To set this property select the Tightly Coupled Transaction in the ODBC Data Source dialog box, or pass the property TightlyCoupledTransaction=1 in the connection string.

WARNING! Enlistment with SQLSetConnectAttr returns a SQL_ERROR if the connection has already begun a local transaction, either by using SQLSetConnectAttr with the SQL_AUTOCOMMIT_OFF or by executing the BEGIN TRANSACTION statement explicitly using SQLExecDirect.