- 最后登录
- 2018-7-3
- 在线时间
- 12 小时
- 威望
- 64
- 金钱
- 277
- 注册时间
- 2011-11-28
- 阅读权限
- 50
- 帖子
- 23
- 精华
- 0
- 积分
- 64
- UID
- 97
|
6#
发表于 2012-2-9 16:41:49
SQL> ALTER TABLE SDECLIENT.S482_IDX$ disable constraint S482$_IX1 cascade;
ALTER TABLE SDECLIENT.S482_IDX$ disable constraint S482$_IX1 cascade
*
第 1 行出现错误:
ORA-25188: 对于索引表或排序散列簇, 无法删除/禁用/延迟主键约束条件
能禁用一部分,还有一部分报错,IOT不能禁用啊
尝试了truncate
SQL> truncate TABLE SDECLIENT.S482_IDX$;
truncate TABLE SDECLIENT.S482_IDX$
*
第 1 行出现错误:
ORA-00376: 此时无法读取文件 7
ORA-01110: 数据文件 7: 'D:\SDE.DBF'
ORA-25188 cannot drop/disable/defer the primary key constraint for index-organized tables
Cause: An attempt was made to DROP, DISABLE, or DEFER the primary key constraint for an index-only table. This is not allowed.
Action: Do not DROP, DISABLE, or DEFER the primary key constraint for an index-only table. |
|