Let's have a sample snipet
DECLARE @xml XML = N'
<a abb="122">
<b>
</b>
</a>
<a abb="344">
<b>
</b>
</a>
...
';
SELECT @xml;
--need to update abb to be 888 in @xml here
SELECT @xml;
We can update one attribute at a time as showed here. The new question is: How can we update all at-a-time occurences of attribute abb?
Please help.