I have trying to implement replication from SQLA to MSSQL. Tried Proxy Table in SQLA and insert query is working fine. But for actual replication we need update and delete. For that I used INNER JOIN remote database with SQLA db, but it shows error "update operation attempted on non-updatable remote query". My Update query is below:
UPDATE Test AS T
SET T.ID = S.accno
FROM Test AS T
INNER JOIN "DBA"."acc_ledgers" S WITH (NOLOCK)
ON S.accno = T.ID
WHERE T.ID <> S.accno
What is the problem in this? Can you suggest any solution or alternatives?
Thank you
Request clarification before answering.
1) Have you considered using MobiLink to synchronize the data between your SQL Anywhere and MS SQL Server database? It's a pretty proven technology IMHO, but my opinion is quite biased.
2) With respect to the query you've written if you're not going to use MobiLink, can you provide some more context?
Thanks, Reg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
See this older question with some aspects to clarify whether MobiLink or "direct data access" via proxy tables etc. are better fits...
Your very general statement "source database will in SQL Anywhere and target in MSSQL. Data should be replicated to MSSQL." is much too vague in my humble opinion to give any hints...
(FWIW, you had posted your identical question there, too, and I had deleted that one in order to prevent duplicate questions...)
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.