I have Multiple databases ,All the databases same table data is migrating into 1 database same table with column X and those are differentaited with value in X column ...
eg:
A database - XYZ - 200 rows
B database -XYZ - 300 rows
C database -XYZ - 400 rows
like N databases in same server ....Migrated to F database ...
F database -XYZ - 900 rows with column - Value (Adatabase(123);Bdatabase(234);Cdatabase(345))...
I need a query to run Count Validation ....