How can I change:
<data>
<row>
<a>A</a>
<a>B</a>
<a>C</a>
</row>
</data>
to:
<data>
<row>
<a>Data A</a>
<a>Data B</a>
<a>Data C</a>
</row>
</data>
in SQL? I've seen lots of examples on how to completely replace a value with a static value, but no examples of replacing the value dynamically.
Here is another less-than-ideal way to go about it.
The disadvantage of this method is that you need to a separate statement for each child of row. This only works if you know in advance how many children the row node will have.
I had the same problem, but I found another solution I think ;)
Sincerely
I do not know if it is possible to use the xml in the
replace value of
statement. But you can do this.Version 2