為一個新表的一個字段(ID)添加一個唯一性約束,但不能添加,插入語句如下:
alter table student add constraint only_one unique (id);
所報錯如下:
第1行出現錯誤:
ORA-55610:針對歷史記錄跟蹤表的DDL語句無效

解决方案 »

  1.   

     启动Flashback Data Archive的表上的一些DDL 操作可能触发ORA-55610的错误,这些DDL 如下: 
                (1)ALTER TABLE statement that includes an UPGRADE TABLE clause, with or without an INCLUDING DATA clause 
                (3)ALTER TABLE statement that moves or exchanges a partition or subpartition operation 
                (3)DROP TABLE statement