I need to compare ALL fields in two tables... they are the same size (four lines) and have the same amount of columns (five columns). The logic I'm looking for is...
If (table 1 = table 2)
do something
Else
do something else
In SQL I wrote something like...
If (Select * from table 1 = select * from table 2)
do something
else
do something else
THIS DOESN'T WORK!!!
I tried doing EXCEPT and UNION ALL statements... but I don't need to know the row that is different or even the values that are different, I just need to know BOOLEAN 'yes' the tables are different or 'no' they are not.