开发者

SQL Server Replication subscribers filter

开发者 https://www.devze.com 2023-01-15 18:13 出处:网络
Guys, I have a task to do for my colleague and I need to know if is possible to specify the filte开发者_运维技巧r to subscribers when using replication in SQL Server?

Guys, I have a task to do for my colleague and I need to know if is possible to specify the filte开发者_运维技巧r to subscribers when using replication in SQL Server?

What I mean is, I don't want to create 3 types of publishers, each one to each one subscriber (with filter in publisher to redirect to specific subscriber but the inverse.)

I want to indicate to a subscriber the type of data to replicate.

It is possible?

Really Thanks


A certain degree of customization is available in a Merge Replication topology. See: Filtering Published Data.

Parameterized row filters, which are available only with merge replication.

Using parameterized row filters, you can choose a subset of rows to be published. Unlike static filters that send the same subset of rows to every Subscriber, parameterized row filters use a data value supplied by the Subscriber to send Subscribers different subsets of rows.

For an ordinary snapshot or transactional replication, all of your filtering would need to happen on the publisher.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号