Re: Use replication + DTS - Referred to Hilary Cotter or Paul Ibis
From: Paul Ibison (Paul.Ibison_at_Pygmalion.Com)
Date: 10/26/04
- Next message: Jim Breffni: "RE: A subscription has expired and has been dropped"
- Previous message: Mad Matt: "Re: Use replication + DTS - Referred to Hilary Cotter or Paul Ibis"
- In reply to: Paul Ibison: "Re: Use replication + DTS - Referred to Hilary Cotter or Paul Ibis"
- Next in thread: Mad Matt: "Re: Use replication + DTS - Referred to Hilary Cotter or Paul Ibis"
- Reply: Mad Matt: "Re: Use replication + DTS - Referred to Hilary Cotter or Paul Ibis"
- Reply: Mad Matt: "Re: Use replication + DTS - Referred to Hilary Cotter or Paul Ibis"
- Reply: Mad Matt: "Re: Use replication + DTS - Referred to Hilary Cotter or Paul Ibis"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 26 Oct 2004 21:58:16 +0100
Matt,
can you test each part separately:
(1) do the same type of trigger, but locally create ordersnew and use that
CREATE TRIGGER copy_Order ON [dbo].[orders]
FOR INSERT
AS insert into databasename.dbo.ordersnew(idOrder,
orderDateEntered)
select idOrder, orderDateEntered from inserted
(2) try a distributed transaction using similar syntax:
begin distributed transaction
do a local insert
insert into server.databasename.dbo.orders(idOrder,
orderDateEntered)
values(....)
commit transaction
Let's see if both of these work
HTH,
Paul Ibison (SQL Server MVP)
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)
- Next message: Jim Breffni: "RE: A subscription has expired and has been dropped"
- Previous message: Mad Matt: "Re: Use replication + DTS - Referred to Hilary Cotter or Paul Ibis"
- In reply to: Paul Ibison: "Re: Use replication + DTS - Referred to Hilary Cotter or Paul Ibis"
- Next in thread: Mad Matt: "Re: Use replication + DTS - Referred to Hilary Cotter or Paul Ibis"
- Reply: Mad Matt: "Re: Use replication + DTS - Referred to Hilary Cotter or Paul Ibis"
- Reply: Mad Matt: "Re: Use replication + DTS - Referred to Hilary Cotter or Paul Ibis"
- Reply: Mad Matt: "Re: Use replication + DTS - Referred to Hilary Cotter or Paul Ibis"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|