您现在的位置是:网站首页> 编程资料编程资料

oracle更新xml节点问题的一些细节_oracle_

2023-05-27 404人已围观

简介 oracle更新xml节点问题的一些细节_oracle_

有的节点是 这样的,所以直接

 update table1 e set e.xxx_xml=updatexml(e.xxx_xml,'/data/contact/email/text()', 'value' ) where 1=1;

是不能更新的

 update table1 e set e.xxx_xml=updatexml(e.xxx_xml,'/data/contact/email', ''|| 'value' || '' ) where 1=1;

这样就能更新了

您可能感兴趣的文章:

-六神源码网