I have 15 database some of which are replicated.

Sometimes the replication on all clustered indexesfor all tables of one of my replication change its value to False.

I'd like to know if there is a way in TSQL to make a query that'll check this properties for all articles of all replications on my server.

i tried to get the list of all the replications with

exec sp_msforeachDB 'Select ''?'' as dbname,name From ?..SysPublications'

But this raise an error if there is no replication in one database.

link|improve this question
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.