An Azure relational database service.
Hi @Dhanasekaran ,
> As listed on the stackoverflow, i think Azure doesnt support MSDTC (i.e. above insert Query). Am i correct?
Azure SQL databases uses Elastic Transactions. While on premises servers uses Microsoft Distributed Transaction Coordinator (MSDTC).
MSDTC is not supported on azure, and according to the elastic transactions documentation,
>Only transactions across databases in SQL DB are supported. Other X/Open XA resource providers and databases outside of SQL DB cannot participate in elastic database transactions. That means that elastic database transactions cannot stretch across on premises SQL Server and Azure SQL Database. For distributed transactions on premises, continue to use MSDTC.
•On premises SQL Server uses MSDTC, which is not available on Azure SQL Database.
•Azure SQL Database uses elastic transactions, which won't work with on premises SQL server.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.