x

How do I replicate the same publication to different subscribers on the same server?

Scenario

I have two servers A and B. Server A acts as a publisher and server B acts as a subscriber. Server A already has a publication with an article that is replicated to an existing database on Server B. I have been asked to replicate the same article in the existing publication to a different database on server B. How do I go about this?

  1. Should I add an additional transactional subscriptions on server A or

  2. Create a whole new publication with the same article and add a subscription?

If I go with option 1, what would happen if I’m asked to drop the publication?

more ▼

asked Aug 18, 2015 at 06:31 PM in Default

avatar image

zillabaug
461 3 5 10

You have several answers below. For each of those answers that are helpful you should click on the thumbs up next to the answers so that it turns green. If any one of the answers below lead to a solution to your problem, click on the check mark next to that one answer so that it turns green. This web site works best if you do the voting and marking of answers so that the next person who looks at your question knows what the solution was.

Aug 22, 2015 at 10:49 AM Grant Fritchey ♦♦
(comments are locked)
10|1200 characters needed characters left

2 answers: sort voted first

I would go with option #1 and create a new subscriber. If you needed to drop the publication you should drop both subscriptions.

more ▼

answered Aug 19, 2015 at 01:45 AM

avatar image

JohnSterrett
1.3k 2 6

(comments are locked)
10|1200 characters needed characters left

Yes! You can create another subscription on server B to the different database with the existing publication. If the database is encrypted with master key you may get an error saying create master key for the database.

more ▼

answered Aug 21, 2015 at 12:13 PM

avatar image

Hussainpatel
30 6 8 12

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.

Topics:

x2019
x372
x6

asked: Aug 18, 2015 at 06:31 PM

Seen: 49 times

Last Updated: Aug 24, 2015 at 07:52 AM

Copyright 2016 Redgate Software. Privacy Policy