有的节点是 <emali/>这样的,所以直接
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' , '<email>' || 'value' || '<email/>' ) where 1=1;这样就能更新了
查看更多关于oracle更新xml节点问题的一些细节的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did227853