MSSQL ODBC And Transactions
- From: Milind <kadam.milind@xxxxxxxxx>
- Date: Wed, 20 Feb 2008 14:18:01 -0800 (PST)
Hi There,
I have developed the ODBC app which can work with Oracle as well as
MSSQL server databases. I need to use transactions at some level. By
setting AUTOCOMMIT OFF and using SET TRANSACTION and BEGIN WORK,
COMMIT WORK everything works fine with Oracle. But with MSSQL server
does not. Do I need to code something special for MSSQL? Does anyone
has example on how to implement transactions with MSSQL server using
ODBC?
I tried reading lots of documents on Microsoft site but nothing
specifically says how to do this. One way the doc says is using
SQLSetConnectAttr with SQL_ATTR_TXN_ISOLATION but does not specify how
to.
Any help with appreciated. Thanks in advance.
Milind
.
- Prev by Date: Failure Audit Event ID: 18456 SQL Server Error
- Next by Date: RE: Machine x receives results meant for machine y
- Previous by thread: Failure Audit Event ID: 18456 SQL Server Error
- Next by thread: RE: Machine x receives results meant for machine y
- Index(es):
Relevant Pages
|
Loading