There is not any quick T-SQL solution here. You could do it with a FULL JOIN like this:
SELECT isnull(A.Number, B.Number),
A.Col1, B.Col1, IIF(A.Col1 IS DISTINCT FROM A.Col1, 'XXXX', '') AS Col1Diff,
A.Col2, B.Col2, IIF(A.Col2 IS DISTINCT FROM A.Col2, 'XXXX', '') AS Col2Diff,
...
FROM #SDSSR A
FULL JOIN #OraSR B ON A.NUMBER = B.NUMBER
But it is quite tedious. Even more so if you are not on SQL 2022 and cannot use IS DISTINCT FROM.
What I often do when I want to compare tables that ideally should be equal is that I copy and paste the result sets into Excel. The first table into Sheet1, the second into Sheet2. Use Shift-Ctrl-C so that you get column headers. Then in Sheet3, I enter this formula in A2: IIF(Sheet1!A2 = Sheet2!A2; "", "XXXX")
. Then I select this cell and copy it to all other cells that covers the data in the other two sheets. Now where there is a difference there is an XXXX.
This will however not work well, if there different set of key values in the tables, since as soon as the ID goes out of sync, you will comparing values for different keys which is not very useful.