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