How to Update XML in SQL based on values in that XML
问题 I have to update XML of table based on some conditions of that XML. Sample XML: <CountryValues> <CountryRow> <CountryName>Brazil</CountryName> <PlaceName>Place 1</PlaceName> <Month>1</Month> <PlaceValue>0</PlaceValue> </CountryRow> <CountryRow> <CountryName>Brazil</CountryName> <PlaceName>Place 1</PlaceName> <Month>2</Month> <PlaceValue>0</PlaceValue> </CountryRow> <CountryRow> <CountryName>Brazil</CountryName> <PlaceName>Place 1</PlaceName> <Month>3</Month> <PlaceValue>0</PlaceValue> <