修改你init.ora中的COMPATIBLE 参数为8.1.0

解决方案 »

  1.   

    那你可以将该列置为不可用嘛:
    AlTER TABLE table_name
     SET UNUSED(column_name);
    然后
    ALTER TABLE table_name
     DROP UNUSED COLUMNS;
      

  2.   

    修改init.ora
    COMPATIBLE = 8.1.7.0.0如果没有则填加一行然后重新启动数据库,再试
      

  3.   

    alter table tablename drop column 字段
      

  4.   

    这是2000上
    SQL*Plus: Release 8.1.7.0.0
    Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.0.0 - Production
    置为不可用可以,删除字段可以这是linux上的
    SQL*Plus: Release 8.1.7.0.0
    Oracle8i Enterprise Edition Release 8.1.7.0.1 - Production
    With the Partitioning option
    JServer Release 8.1.7.0.1 - Production
    置为不可用,删除均不可以,错误为:
    ORA-00406: COMPATIBLE parameter needs to be 8.1.0.0.0 or greater我查了好几本书上面都说8i支持这种操作
    请问这里该如何解释!
      

  5.   

    我用的是8.17的客户端,
    alter table 表名
    drop column 列名;表已更改
      

  6.   

    改表名是rename to …………
    哎,不记得了,那位会的提醒一下,:)
    学习ing.
      

  7.   

    不好意思,没说清楚:
    在同一台2000的客户端登陆两台oracle服务器,一台是2000server,另外一台是linux这是2000上的
    SQL*Plus: Release 8.1.7.0.0
    Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.0.0 - Production
    置为不可用可以,删除字段可以这是linux上的
    SQL*Plus: Release 8.1.7.0.0
    Oracle8i Enterprise Edition Release 8.1.7.0.1 - Production
    With the Partitioning option
    JServer Release 8.1.7.0.1 - Production
    置为不可用,删除均不可以,错误为:
    ORA-00406: COMPATIBLE parameter needs to be 8.1.0.0.0 or greater
      

  8.   

    把初始化参数COMPATIBLE parameter 改大.
      

  9.   

    看oracle帮助:ORA-00406 COMPATIBLE parameter needs to be string or greaterCause: The value of the COMPATIBLE initialization parameter is not high enough to allow the operation. Allowing the command would make the database incompatible with the release specified by the current COMPATIBLE parameter.Action: Shut down and restart with a higher compatibility setting.
      

  10.   

    我看了一下linux上的COMPATIBLE 是8.0.5改成8.1.0,从启动,还是不行!