Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

Query to check replication

$
0
0

Hi,

I created the query below to check if every transaction was already sent to the subscriber. Is this query correct ?

At this moment the query show a difference of 150 transactions between one publisher/subscriber, but the synchronization status says "No replicated transactions available".

What's wrong ?

The query :

select count(*) Diferenca from distribution..MSlogreader_history where
xact_seqno > (select max(xact_seqno) from distribution..MSdistribution_history)

Thank you !


Dennes - Se resolveu, classifique a mensagem, por favor - [http://www.bufaloinfo.com.br] NOVO DVD Segurança no ASP.NET : http://www.bufaloinfo.com.br/LearingSeriesSegurancaASPNET2.asp


Viewing all articles
Browse latest Browse all 4054


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