Groups | Blog | Home
all groups > sql server replication > april 2006 >

sql server replication : Find out whether a database is merge subscriber



Paul Ibison
4/7/2006 12:00:00 AM
Roland,
you should be able to find the publication in sysmergesubscriptions on the
subscriber.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)

Roland Dick
4/7/2006 12:00:00 AM
[quoted text, click to view]

Of course! Thank you Paul, it's the most obvious thing on earth.

Roland Dick
4/7/2006 12:21:34 AM
Hi,

maybe someone can help me with this one.
I need to find out via T-SQL whether a specific database is a subscriber
of a merge publication. The publisher might not be available when
querying this.
I would have expected bit 4 (value 8) of
master.dbo.sysdatabases.category to be set; however, it isn't in my
replicated databases (maybe just for snapshot replication?)

Thanks for any help on this!

AddThis Social Bookmark Button