Solved

Sql Server 2008 - Replication from one database to multiple databases

Posted on 2016-08-24
2
47 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 27

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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

729 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