12c: Adding DEFAULT NOT NULL Column In Basic Compressed Table Fails With ORA-39726 (Doc ID 2253655.1)

Last updated on MAY 10, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

In 12c: Adding DEFAULT NOT NULL Column In Basic Compressed Table Fails With ORA-39726

Test Case :

ORA-39726: unsupported add/drop column operation on compressed tables

But if we split into two steps, then it works fine.
SQL> alter table T1 add yyy varchar2(20);
SQL> alter table T1 modify yyy default 'qqqqq' not null;

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