Solved

Sql Server 2008 - Replication from one database to multiple databases

Posted on 2016-08-24
2
26 Views
Last Modified: 2016-08-25
Hello All,

I am trying to get two transaction replications going from one database to 2 other databases.  Here is what I currently have.

I've got a Transaction Replication set up between MAINDB  and DB2 (See Below)

MainDB = My main database.  It contains tables such as CASETABLE, ADDRESSTABLE, SUBJECTTABLE
DB2 = This is a DB that I am replicating CASETABLE, ADDRESSTABLE and SUBJECTTABLE  using Transaction Replication.

I am wanting to also have a Transaction Replication of CASETABLE, ADDRESSTABLE and SUBJECTTABLE  from MainDB to DB3 but I'm wanting filters put on some of the rows.

Can I create another Publication on MainDb > select the Tables I need and filter them and have it go to another subscriber?

Is this possible and can it be accomplished.
0
Comment
Question by:UncleT
2 Comments
 
LVL 26

Accepted Solution

by:
Zberteoc earned 500 total points
ID: 41769404
If the content of the replication is different to the 2 subscribers then you need to create a new publisher and then add the same articles(tables) to it but apply whatever filers you need this time.

This can help:

https://www.mssqltips.com/sqlservertip/4116/sql-server-transactional-replication-static-row-and-column-filters/
0
 

Author Closing Comment

by:UncleT
ID: 41770140
Thanks so much for the response.  This was the way I was thinking how to do it but I just wanted to be sure.
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Audit has been really one of the more interesting, most useful, yet difficult to maintain topics in the history of SQL Server. In earlier versions of SQL people had very few options for auditing in SQL Server. It typically meant using SQL Trace …
This is basically a blog post I wrote recently. I've found that SARGability is poorly understood, and since many people don't read blogs, I figured I'd post it here as an article. SARGable is an adjective in SQL that means that an item can be fou…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now