私は書くことができます:
update my_table
set xml = updateXML(xml, '/a/b', '1')
where document_id = 123
同じ更新クエリで、/a/c を 2 に (さらに /a/b を 1 に) 設定したい場合はどうすればよいでしょうか? 私は書きたくなる:
update my_table
set
xml = updateXML(xml, '/a/b', '1'),
xml = updateXML(xml, '/a/c', '2')
where document_id = 123
しかし、これにより「ORA-00957:重複した列名」が表示されます。これを行う方法について何か提案はありますか?