How can I get a row count all replicated tables in SQL Server? -
i trying build report show row counts of replicated tables on subscriber , publisher? please help..thanks in advance.
- you enumerate publications
sp_helppublication
. - you enumerate articles in publication
sp_helparticle
- you find base object each published article
- you count rows in base objects (from step 3)
- you find destination object of each article
- you list subscribers
sp_helpsubscription
- on each subscriber, count rows in destination objects (from step 3)
Comments
Post a Comment