The information in this article applies to:
SUMMARYThe appropriate way to check for a driver's support for transactions is to check the return value from the call to SQLGetInfo with fSQLType=SQL_TXN_CAPABLE. Relying upon SQLTransact with fType=SQL_ROLLBACK to return SQL_ERROR to check the transaction support in not recommended and can lead to unexpected results. MORE INFORMATION
With ODBC Driver Manager (ODBC.DLL) version 1.5 and later, in case of
drivers that export SQLTransact function, SQLTransact with
fType=SQL_ROLLBACK will return SQL_SUCCESS. However, the actual
driver may not support transactions. SQLGetInfo with
fSQLType=SQL_TXN_CAPABLE with return correct information that the
driver does not support transactions. This is applicable in general
to drivers that support multiple DBMSs.
Additional query words: 1.50 Driver Manager VB Visual Basic Access ODBC Paradox Text Excel Btrieve Foxpro dBase Simba
Keywords : |
Last Reviewed: August 25, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |