set @xml.modify('replace value of (/a/@abb)[1] with 344') Læs mere om det her. XML Data Modification Language (XML DML)