Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

Replication and site/location ID

$
0
0

Hi All,

I'm in the process of creating some Replication Publishers for all our sites. I will have 1 subscriber (for now) that will collect the data from the Publishers (8 databases). What I'd like to know is there a way to tell/set the  publisher with a siteID without having to change the database structure.

For example for the Subscriber db I setup those tables with a SiteId field.  When the publisher pushes the data to the subscriber, I'd like the publisher also send the siteID of the site. Is there a way to do this without changing the db structure? If not and I need to change the structure, should I make the siteid as part of the primary key of each table? Is there any draw backs to doing so?

Thanks for any help that you can provide.


Viewing all articles
Browse latest Browse all 15889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>