How to exclude more than one node, so one of those exclude will rearrange its attributes using XML DML?
问题 this is a reference from this posted question, as I am looking to rearrange the value of attribute <pos> inside nodes <est_mat> , so the first node of <est_mat> will have <pos>10</pos> , then the second <est_mat> node will have <pos>20</pos> and so on. I have this query from the help of one of the users from the posted reference mentioned. So, supposing the following xml structure: DECLARE @xml XML= N'<flint> <app> <comp>59</comp> <signal>ORDERBOOK</signal> <sigref>000000172</sigref> <date