How to fix the Oracle error OCI-19212: no key columns specified before call to DBMS_XMLSTORE.updateXML()?

In this post, you’ll learn more about the Oracle ErrorOCI-19212: no key columns specified before call to DBMS_XMLSTORE.updateXML() with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

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

Reason for the Error OCI-19212: no key columns specified before call to DBMS_XMLSTORE.updateXML()

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

How to fix the Error OCI-19212: no key columns specified before call to DBMS_XMLSTORE.updateXML() ?

You can fix this error in Oracle by following the below steps

Use DBMS_XMLSTORE.setKeyColumn() to specify key columns

Tags :

Leave Your Comment