My Oracle Support Banner

Dbms_xmlstore Insertxml Throws ORA-01008 For CLOB Column With Null Value (Doc ID 1270580.1)

Last updated on JANUARY 30, 2022

Applies to:

Oracle XML Developers Kit - Version to [Release 10.2 to 11.2]
Information in this document applies to any platform.


Inserting XML document into a table columns using DBMS_XMLSTORE.

The table has a CLOB column . Inserting NULL data into CLOB column fails with ORA-01008

Error seems to occur only when inserting NULL data into CLOB but works
fine even when inserting NULL data into VARCHAR2 column.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.