ORA-19212: no key columns specified before call to DBMS_XMLSTORE.updateXML() ORACLE 报错 故障修复 远程处理

文档解释

ORA-19212: no key columns specified before call to DBMS_XMLSTORE.updateXML()

Cause: No columns were specified as key columns before the call to DBMS_XMLSTORE.updateXML.

Action: Use DBMS_XMLSTORE.setKeyColumn() to specify key columns

ORA-19212: no key columns specified before call to DBMS_XMLSTORE.updateXML() 错误指出:在调用 DBMS_XMLSTORE.updateXML() 时没有指定关键列。

官方解释

常见案例

一般处理方法及步骤

(1)确保特定的XML键列与上一次调用DBMS_XMLSTORE.deleteXML()时使用的一致;

(2)在调用DBMS_XMLSTORE.updateXML()之前,使用DBMS_XMLSTORE.insertKey()为要更新的XML文档中的元素指定XML键列;

(3)重新运行updateXML()调用。


数据运维技术 » ORA-19212: no key columns specified before call to DBMS_XMLSTORE.updateXML() ORACLE 报错 故障修复 远程处理