I want to change element name with following statement:
SET @myDoc.modify('replace value of (/CustomerInfo)[1] with "Customer"')
from
<CustomerInfo>
<ID>1</ID>
</CustomerInfo>
to
<Customer>
<ID>1</ID>
</Customer>
But failed. So how can i change it just in sql ?