我有一个存储在CLOB中的长xml,我想从xml中获取特定数据,我使用的是这段代码:
SELECT t.id, x.* FROM testSSF t,XMLTABLE ('/root/test[@id="2"]' PASSING xmltype(t.xml)
COLUMNS testname VARCHAR2(30) PATH 'testname' ) x
WHERE t.id = 2;
我收到此错误:
ORA-19114: error during parsing the XQuery expression::
ORA-06550: line 1, column 13:
PLS-00201: identifier 'SYS.DBMS_XQUERYINT' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored