all groups > sql server replication > july 2004 >
You're in the

sql server replication

group:

Help on how to 1 way push data


Help on how to 1 way push data Ryan Johnson
7/7/2004 4:42:02 AM
sql server replication:
Hi there
Maybe Im missing something but..
I have a order tracking system running on sales peoples laptop's. When they connect to the company Network (via dialup) at Night I want to push all off there orders to a named SQL, and then remove those orders from their own laptop.

So in a sense, Its like a one way merge with a delete, or even a push from MSDE to the main SQL server.

I dont want existing data pushed back to the laptop.. SO its all one way.

Re: Help on how to 1 way push data Paul Ibison
7/7/2004 1:12:18 PM
Ryan,

I have seen merge used for this - you can have a filter of 1=2 on the
tables. This ensures that subscriber inserts are replicated to teh
publisher, and then deletes are replicated back because the filter is not
satisfied. However, this can be a bit buggy if inserts are still carried out
on the subscriber while the merge agent is running (some of the new rows
won't be removed when next running the merge agent). Provided you can
prevent this, or it won't happen in your particular business, then this is a
viable solution.

Alternatively, each laptop could be configured as a transactional publisher
with HO as a central subscriber and for the delete command, 'none' is
entered to prevent the replication of deletes.

Finally, you could use DTS/linked servers to accomplish the same thing.

Regards,

Paul Ibison

AddThis Social Bookmark Button