<ian.hingley@swiftlg.com> wrote in message
news:1160054917.498303.22650@e3g2000cwe.googlegroups.com...
> Hi Hilary
>
> You seem to be on to something here, though I'm not sure it's positive
> for me! Our Uniface application handles all the table relationships
> itself, so as far as SQL Server is concerned, there is no relationship
> between the tables. I've found the 'Enforce Relationships on
> Replication' check box (this was sounding really promising!), but
> unfortunately it is greyed out.
>
> Regards
>
> Ian
>
> Hilary Cotter wrote:
>> In enterprise manager, right click on your table, and select properties,
>> and
>> then relationships. You should see it there.
>>
>> In SSMS, right click on your table, select properties, right click on a
>> column and select relationships.
>>
>> --
>> 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 >>
>>
>>
>> <ian.hingley@swiftlg.com> wrote in message
>> news:1160044091.034295.233090@k70g2000cwa.googlegroups.com...
>> > Hi Hilary
>> >
>> > Thanks for your reply.
>> > Can you tell me how I check:
>> >
>> > 'Or perhaps you are not enforcing a cascading delete or update
>> > for replication'?
>> >
>> > Sorry if this is mundane stuff for you; I really rate replication when
>> > it works, but struggle a bit when it goes wrong!
>> >
>> > Regards
>> >
>> > Ian
>> >
>> >
>> > Hilary Cotter wrote:
>> >> There could be two issues, a deferred update where the update is
>> >> replace
>> >> by
>> >> an delete followed by an insert - which is unlikely as both should be
>> >> filtered out. Or perhaps you are not enforcing a cascading delete or
>> >> update
>> >> for replication. Can you check for this?
>> >>
>> >> --
>> >> 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 >> >>
>> >>
>> >>
>> >> <ian.hingley@swiftlg.com> wrote in message
>> >> news:1159960418.727872.65910@e3g2000cwe.googlegroups.com...
>> >> > Hi
>> >> >
>> >> > I have an issue where inserts follow row filter rules OK, but
>> >> > updates
>> >> > and deletions don't seem to. I'm using transactional replication.
>> >> > Let's assume we have a table called Customers with a simple row
>> >> > filter
>> >> > of
>> >> >
>> >> > SELECT <published_columns> FROM <<TABLE>> WHERE custkey > 1000
>> >> >
>> >> > The snapshot and distribution only copies over records with a key
>> >> > greater than 1000. Correct.
>> >> > If a record with a key greater than 1000 is updated or deleted, the
>> >> > transactions are distributed and the same update or deletion appear
>> >> > on
>> >> > the replicated database. Correct.
>> >> >
>> >> > However, if a record with a key less than 1000 gets updated or
>> >> > deleted,
>> >> > there should be nothing to distribute as the row doesn't meet the
>> >> > filter requirements and doesn't exist in the replicated database.
>> >> > But,
>> >> > we get the following error:
>> >> >
>> >> > Error: The row was not found at the Subscriber when applying the
>> >> > replicated
>> >> > command.
>> >> >
>> >> > This sort of implies it is expecting to find a row with the sub 1000
>> >> > key in the replicated database. Why should this be? I can create a
>> >> > new distribution agent profile to ignore this 20598 error, but our
>> >> > customers are not comfortable with this.
>> >> >
>> >> > Anyone else experienced this? Any resolution? Am I missing
>> >> > something
>> >> > obvious??
>> >> >
>> >> > Regards
>> >> >
>> >> > Ian Hingley
>> >> > Swift LG Ltd
>> >> >
>> >
>