Merge Replication with Static Filters - Does not Delete from the subscriber database?

拈花ヽ惹草 提交于 2019-12-12 04:16:22

问题


I have a merge replication setup, I have applied static filters so as to send only specific rows to the subscribers from a publisher (table) say 'X' the filter is " where Name Starts with ( Select sub-query which returns 'T') ". Now after sync the filters are applied and the rows are synced. E.g: The subscribers will have the following 3 rows.

  • ID Name
  • 1 Tom
  • 2 Tiger
  • 3 Tim

Now i go to the Publisher and delete the row 3. And sync again. The deletion is not propagated to the subscriber, and the subscriber still shows the 3rd row. What setting am I missing ?


回答1:


Hello guys found found the problem to my own query. It is documented in the article https://support.microsoft.com/en-us/kb/324362 . Sub-Queries do not work in the expected fashion with merge replication.



来源:https://stackoverflow.com/questions/34194090/merge-replication-with-static-filters-does-not-delete-from-the-subscriber-data

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!