Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

is a subscriber

0 views
Skip to first unread message

Darin

unread,
Aug 8, 2010, 6:47:24 PM8/8/10
to
We have customers that don't use replication, and some that use merge
replication.

I need a command able to be executed in a stored procedure that will
tell me is this SQL Server is a subscriber in a replication environment.
that is all i need to know. Something like:

if issubscriber(SQL_SERVER_NAME)=1
begin
do something for the subscriber
end
else
begin
do something different for publisher OR non-replicated
end

Darin

*** Sent via Developersdex http://www.developersdex.com ***

0 new messages