https://learn.microsoft.com/en-us/sql/tools/tablediff-utility?view=sql-server-ver17&redirectedfrom=MSDN
tablediff Utility - SQL Server | Microsoft Learn
Use the tablediff utility to compare the data in two tables for non-convergence and troubleshoot non-convergence in a replication topology.
sql serverutilitymicrosoftlearn