Skip to main content

Comparing counts of all tables

A simple way to validate the correctness of your data after migration is to compare the counts of all tables in the source and target databases. You can do this by running the following query on both databases:
Last modified on June 19, 2026