I have 2 big tables(About 100-150k rows in each).
The structure of these tables is the same. Ids of entities are also the same in each table.
I need a very fast way to compare these tables and answer the following questions:
- Which row's fields are different from another table's row?
- Which ids exists in first table and doesn't exists in second table?
- Which ids exists in second table and doesn't exists in first table?
Thank you!
Edit: I need to do this comparison using C# or maybe stored procedures(and then to select results by c#)