My Oracle Support Banner

12c: Inserting an Empty Value Into a CLOB Column with 'DEFAULT EMPTY_CLOB() NOT NULL' Using SQL*Loader Fails with NOT NULL Constraint Violated (Doc ID 1998537.1)

Last updated on MARCH 27, 2019

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 12.1]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.


NOTE: The document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product. Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.

Inserting an empty value into a CLOB column using SQL *Loader fails with the NOT NULL constraint being violated in 12c but insert works on 11g.

The table that is inserted into has a LOB column and is defined like:

Note the the same is successful in 11g.


Upgraded the database to Oracle 12c


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.