문제

I need to perform update in a table in Oracle as well as update a table in a SQL Server 2008 R2 database.

Is it possible to run them in a transaction using ADO.Net?

도움이 되었습니까?

해결책

This is known as an eXtended Architecture (XA) transaction, and yes, it is supported on Microsoft Windows via the MSDTC.exe application.

You can read all about it here: http://technet.microsoft.com/en-us/library/cc753563(v=ws.10).aspx another good article describing how to configure the DTC to support transaction with Oracle is here: http://msdn.microsoft.com/en-us/library/windows/desktop/aa344212(v=vs.85).aspx

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top