I have a table of values in which I need to take 'n' number of columns and update another table only where the value has changed.
For example, let's say I have DB1.Table1 and DB2.Table2.
Table1 has columns A, B, C, D and E.
Table2 has columns F, G, H and I.
I want the values in B, C and E to populate the values in G, H and I - where A = F and B <> G, C <> H and E <> I.
I have tried using a JOIN and WHERE, but neither seem to work.