Re: Distributed Transaction
From: Paul Clement (UseAdddressAtEndofMessage_at_swspectrum.com)
Date: 02/09/04
- Next message: ruca: "Re: Clock at run time"
- Previous message: Cor: "Re: Help"
- In reply to: Karthikeyan: "Re: Distributed Transaction"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 09 Feb 2004 10:37:02 -0600
On Thu, 5 Feb 2004 11:38:01 +0530, "Karthikeyan" <Karthikeyan.Ganesan@isoftplc.com> wrote:
¤ Hi,
¤ Thanks for your infomation.
¤
¤ My req is like this..
¤
¤ I have one SQL Server database and one oracle database....
¤
¤ I want to insert one one record in each database.. with in a transaction
¤ context???
¤
¤ (Note : I have to connection object)
¤ How to do that??
¤
¤ Thanks in advance
¤
Under this scenario I would use two separate transactions, one for SQL Server and one for Oracle. If
the fist operation fails, e.g. SQL Server, then the Oracle update would not be performed. If the
second operation fails, e.g. Oracle, then you would rollback the SQL Server transaction. If both
succeed then commit both transactions.
Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)
- Next message: ruca: "Re: Clock at run time"
- Previous message: Cor: "Re: Help"
- In reply to: Karthikeyan: "Re: Distributed Transaction"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|