Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

replication

Status
Not open for further replies.

aspijker

Programmer
Feb 14, 2007
37
NL
Hi SQL server people,

I want to replicate data from one sql server 2000 to another sql server 2000. I have on each server an identical database. Now in the publisher database there are a lot of INSERTS, which need to be replicated to the subscriber database on the second server. But once a week, the publisher database will be cleaned (all rows from the tables will be deleted), but this should not happen in the subscriber's database. How should I configure this?

Regards and thanks for any help!
 
Replication will transfer the delete as well as the inserts. You can modify the delete procedure on the subscriber so that it doesn't actually delete the data.

You would also need to setup the subscription so that it doesn't delete the data on the subscriber when it initalizes the subsription.

This should handle your requirements.

Denny
MCSA (2003) / MCDBA (SQL 2000)
MCTS (SQL 2005 / Microsoft Windows SharePoint Services 3.0: Configuration / Microsoft Office SharePoint Server 2007: Configuration)
MCITP Database Administrator (SQL 2005) / Database Developer (SQL 2005)

--Anything is possible. All it takes is a little research. (Me)
[noevil]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top