Finding the differences only between 2 strings in SQL
问题 I must compare 2 xml strings(varchar(max) in sql) like these ones: '<table_name id="2" name="Bob" job="student"/>' '<table_name id="2" name="john" job="teacher"/>' And the result must be the differences only, which means, ill get 2 strings, the first one will me the original values, and the second one will be the new values. However if there are no differences then there will be an empty string, in this case for example: output 1: 'name="Bob", job="student"' output 2: 'name="john", job=