Re: Filtering and Parent-Child Relation
- From: "Hilary Cotter" <hilary.cotter@xxxxxxxxx>
- Date: Thu, 9 Nov 2006 05:47:18 -0500
With join filters this should work. What exactly is happening? Are you
inserting parent and child rows on the publisher and only the parents are
arriving? Did you check the conflict viewer?
--
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
<savvaschr@xxxxxxxxxxxxxxxx> wrote in message
news:1163059365.843974.186380@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello
I would like to ask something about filtering Rows on a Merge
Replication and about Parent-child table relations.
I had one filter that on a Parent Table that the filter was depending
on the Child of that table.
For example I have one table called Accounts lets say with 2 columns
AccountID ans AccountName
and a child table called AccountRoutes with also 2 columns AccountID
and RouteID.
My filter was like this
Select * From Accounts where AccountID IN
(Select AccountID From AccountRoutes)
The problem with this Filter was that data from Account Table that
should come on the subscriber were not coming through.
I know that the Paernt in the Replication is usually(I checked my
Nicknames From SysMergeArticles)
updating First and than the Child. But I thought that if the parent
Filter is based on the Child and the Child is not updated yet then the
parent will not take the correct data at the end.
So i said that there must be a Rule to that .
A Parents Filter cannot depent on its Child.
Is my Rule Correct? And if Yes then if this is my data structure and i
cannot change it then how can I achive this Filtering?
Thanks
Savvas Christodoulou
.
- Follow-Ups:
- Re: Filtering and Parent-Child Relation
- From: savvaschr@xxxxxxxxxxxxxxxx
- Re: Filtering and Parent-Child Relation
- References:
- Filtering and Parent-Child Relation
- From: savvaschr@xxxxxxxxxxxxxxxx
- Filtering and Parent-Child Relation
- Prev by Date: Re: Problem in pulling subscription
- Next by Date: Re: Merge or Trans with QUS best when publishing partitions of database to slow subscribers
- Previous by thread: Filtering and Parent-Child Relation
- Next by thread: Re: Filtering and Parent-Child Relation
- Index(es):
Relevant Pages
|