我有下表结构
身份证号码
xmlData xml
我希望 xml 列 (xmlData) 中的数据根据以下条件更新为新值。下面是 xml 列中的示例数据。
<customer>
<name display="CName">abc</name>
<customerId display="CID">123</customerId>
</customer>
我的表中的某些行可能没有 customerId xml 标签,我想识别这些行并需要使用 customerId 更新 xml 标签
请建议,我该怎么做。
谢谢,