Select xml element value in Oracle

前端 未结 4 1255
长发绾君心
长发绾君心 2020-12-21 15:37

I am trying to extract a value from an xml element, located in an XMLTYPE column in an Oracle Table. The xml element which I am trying to extract have a parent for which a n

4条回答
  •  囚心锁ツ
    2020-12-21 16:18

    SELECT XMLAGG(XMLELEMENT(E,ename||',')).EXTRACT('//text()') "Result"
    FROM   emp
    

提交回复
热议问题