v***@gmail.com
2015-07-07 15:16:28 UTC
I have got 3 fields.
1.field [OldContent] [xml] NULL,
2.field [NewContent] [xml] NULL,
3.[OldContent] [xml] NULL,
I want to compare the data in two fields.
Results I want to write to the 3.field.([OldContent])
How can I do it in SQL server?
[OldContent] [xml] NULL, in value
<row GUEST_ID="13" GUEST_NAME="VEDAT" GUEST_SURNAME="PALA" ADRESS="İZMİR" />
[NewContent] [xml] NULL, in value
<row GUEST_ID="13" GUEST_NAME="VEDAT" GUEST_SURNAME="PALA" ADRESS="İZMİR" CITY="DR" CITY_CODE="35" />
[UpdateContent] [xml] NULL, I want to write the value in it.
<row CITY="DR" CITY_CODE="35" /
Loading Image...
Loading Image...
1.field [OldContent] [xml] NULL,
2.field [NewContent] [xml] NULL,
3.[OldContent] [xml] NULL,
I want to compare the data in two fields.
Results I want to write to the 3.field.([OldContent])
How can I do it in SQL server?
[OldContent] [xml] NULL, in value
<row GUEST_ID="13" GUEST_NAME="VEDAT" GUEST_SURNAME="PALA" ADRESS="İZMİR" />
[NewContent] [xml] NULL, in value
<row GUEST_ID="13" GUEST_NAME="VEDAT" GUEST_SURNAME="PALA" ADRESS="İZMİR" CITY="DR" CITY_CODE="35" />
[UpdateContent] [xml] NULL, I want to write the value in it.
<row CITY="DR" CITY_CODE="35" /
Loading Image...
Loading Image...