标签: sql sql-server xml tsql
UPDATE tblCropMaster SET VersionXml.modify('replace value of (/root/State/stateid[@ID=("S003")]/stateid/text())[1] with ("0")') WHERE CropId = 'Co_1'