How to fix the Oracle error ORA-44422: nonschema XML disallowed for this column?

In this post, you’ll learn more about the Oracle ErrorORA-44422: nonschema XML disallowed for this column with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-44422: nonschema XML disallowed for this column

Reason for the Error ORA-44422: nonschema XML disallowed for this column

An attempt was made to insert nonschema based XML documents in a binary XML column that disallows nonschema data.

How to fix the Error ORA-44422: nonschema XML disallowed for this column ?

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

Insert only schema-based documents or alter the column to ALLOW NONSCHEMA data.

Tags :

Leave Your Comment