I have two tables which are identical but reside on different servers. One table is missing a row which I have verified. I am trying to compare these tables for finding the missing records
by
SELECT GUID FROM dbo.tableA
EXCEPT
SELECT GUID FROM [Server2].MyDatabase.dbo.tableA
or the other way around
SELECT GUID FROM [Server2].MyDatabase.dbo.tableA
EXCEPT
SELECT GUID FROM dbo.tableA
Both queries return zero results. I have used select count(*) on both tables and the count is different
What am I doing wrong?
Thanks for any feedback in advance