MSSQL ODBC And Transactions
- From: Milind <kadam.milind@xxxxxxxxx>
- Date: Wed, 20 Feb 2008 14:21:29 -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
.
- Follow-Ups:
- Re: MSSQL ODBC And Transactions
- From: Arnie
- Re: MSSQL ODBC And Transactions
- Prev by Date: Re: [Microsoft][SQL Native Client]Named Pipes Provider: Could not open a connection to SQL Server [233].
- Next by Date: Re: MSSQL ODBC And Transactions
- Previous by thread: Re: Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
- Next by thread: Re: MSSQL ODBC And Transactions
- Index(es):
Relevant Pages
|