Error ORA-39726 Drop Column Operation On Compressed Tables 10.2 Release (Doc ID 1068820.1)

Last updated on MARCH 27, 2014

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.4 to 11.2.0.4 [Release 10.2 to 11.2]
Information in this document applies to any platform.
Reviewed 30-Oct-2012.

Symptoms

On 10.2.0.4 production:

When attempting to drop some unused columns of a compressed partitioned table, the following error occurs.

ERROR
-----------------------

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


STEPS
-----------------------

SQL> create table t (a number, b number)
partition by range(a) (partition p1
values less than (1), partition pdef values less than(maxvalue)) compress; 2 3

Table created.

SQL> alter table t drop column b;
alter table t drop column b
*
ERROR at line 1:
ORA-39726: unsupported add/drop column operation on compressed tables


Even if the table is changed back to uncompressed the column is not allowed to be dropped.

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