--解析xml,并获得xml数据的值
  select x.wf_orunid,extractvalue(xmltype(X.XMLDATA),'/Items/WFItem[@name="WH"]') as wh
 ,b.swh as swh
from bpm_archiveddata x,oa_bpm_docincome b
--多表关联查询更新数据
 update (
 select x.wf_orunid,extractvalue(xmltype(X.XMLDATA),'/Items/WFItem[@name="WH"]') as wh
 ,b.swh as swh
from bpm_archiveddata x,oa_bpm_docincome  b where x.wf_orunid=b.wf_orunid)

 set swh=wh


oracle 解析XML

相关文章:

  • 2022-01-17
  • 2021-06-21
  • 2021-12-06
  • 2021-11-18
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-06
  • 2022-12-23
  • 2021-09-21
  • 2021-12-31
  • 2022-12-23
相关资源
相似解决方案