Re: if replication failed half way

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



What sort of replication are you using? If all your child rows are inserted
in the same transaction then either all of them will be applied on the
subscriber or none.
--
HTH,
Vyas, MVP (SQL Server)
SQL Server Articles and Code Samples @ http://vyaskn.tripod.com/


"MarinaEe" <MarinaEe@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E403B87B-1BA5-43EE-B241-FE9B15F79781@xxxxxxxxxxxxxxxx
i am having 1 header table and 1 child table, there is currently no column
to
store the number of children relation to 1 header. after replication, the
replicated records are to be processed by another program. the problem
happen when replication failed half way (due to line drop for instance),
only
some children records replicated successfully, whilst the other program is
unable to check, and will proceed with processing. is there anyway to set
SQL Server to rollback the replicated records if failed, or any other better
way to control this, to make sure the process is done only when all children
records are replicated?


.



Relevant Pages

  • if replication failed half way
    ... happen when replication failed half way, ... some children records replicated successfully, ... SQL Server to rollback the replicated records if failed, ... Prev by Date: ...
    (microsoft.public.sqlserver.replication)
  • Re: if replication failed half way
    ... i am using merge replication. ... "Narayana Vyas Kondreddi" wrote: ... > in the same transaction then either all of them will be applied on the ... > replicated records are to be processed by another program. ...
    (microsoft.public.sqlserver.replication)
  • Re: cascade deletes and updates
    ... Looking for a SQL Server replication book? ... I was wondering whether cascaded deletes or updates would be ... The subscriber tables are just plain ... parent table resulting in the removal of the child rows, ...
    (microsoft.public.sqlserver.replication)
  • Re: Deletes through Replication
    ... Looking for a SQL Server replication book? ... > I have an order header we'll call HEADER and detail we'll call DETAIL ... > The HEADER article filter is like: ... which gets deleted on the Subscriber ...
    (microsoft.public.sqlserver.replication)