question

SarveshPandey-7139 avatar image
0 Votes"
SarveshPandey-7139 asked ·

Merge Replication workaround in Azure SQL MI

Azure SQL MI currently doesn't support Merge Replication. What is the alternate solution of it?

sql-server-transact-sql
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

EchoLiu-msft avatar image
0 Votes"
EchoLiu-msft answered ·

The function of MERGE is equivalent to combining the update, insert, and delete statements into one statement. If you cannot use merge, you can split the statement into separate update, insert, and delete statements.

There are examples in the post I just answered, please refer to:
Alternative to MERGE for Remote Queries - UPDATE IF EXISTS OR INSERT RECORD


Regards
Echo


If the answer is helpful, please click "Accept Answer" and upvote it.
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.


· 3 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Quite remarkable that this was accepted as answer given the fact that the answer has absolutely nothing to do with the question!

0 Votes 0 ·

Do you have any other suggestions? I am not very sure about the needs of op. But because it is not very convenient to contact the engineers of Azure business, so I temporarily released the answer in my opinion.

Op is not a newbie in Q&A forums, he has posted many questions on Q&A.So,as for op accepted the answer, I think my answer might be helpful to him.

Echo

0 Votes 0 ·

You could have re-tagged the question to one for Azure Managed Instance, I guess.

I have not worked with MI, so I don't have any better suggestion.

0 Votes 0 ·