Hi All,
I am writing an alert in a sql agent job, basically if my CDC latency is more than 30 minutes I should get alerted, I have tried various approaches but with not use, if any of your experts have implemented it already, can you please help me with the code.