zoukankan      html  css  js  c++  java
  • ORA39726: unsupported add/drop column operation on compressed tables

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

    解决方法:

    1. 如果是空表,删除,重建即可

    2. compress for all operations;

    SQL> alter table test_compress compress for all operations;

    Table altered.

    SQL> alter table test_compress drop column object_name;

    Table altered.

    In 11g it is allowed to drop columns from a compressed table IF compatible is set to 11.1 or higher AND table was created with the "compress for all operations" option.
    3.  set column unused

    SQL> alter table test_compress compress;

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

    SQL> alter table test_compress set unused(object_id);

  • 相关阅读:
    POJ 2065 高斯消元求解问题
    HDU1045-Fire Net
    HDU1863-畅通工程
    POJ2524-Ubiquitous Religions
    POJ1064-Cable master
    POJ2456-Aggressive cows
    HDU1272-小希迷宫
    POJ1611-The Suspects
    HDU4496-D-City
    HDU1232-畅通工程
  • 原文地址:https://www.cnblogs.com/wbzhao/p/2434466.html
Copyright © 2011-2022 走看看