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 JUNE 16, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.1 to 12.1.0.2 [Release 12.1]
Information in this document applies to any platform.

Symptoms

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.

Changes

Upgraded the database to Oracle 12c

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms