Oracle禁用约束问题,求教啊 脚本如下: --修改INFO_CUS_COMPLEX_TAX序号类型 alter table INFO_CUS_COMPLEX_TAX add AA number; -- Add/modify columns alter table INFO_CUS_COMPLEX_TAX modify NO null; --禁用约束 alter table INFO_CUS_COMPLEX_TAX disable constraint PK_INFO_COMPLEX_TAX1; update INFO_CUS_COMPLEX_TAX set AA=NO,NO=null; commit; alter table INFO_CUS_COMPLEX_TAX modify NO number(4); update INFO_CUS_COMPLEX_TAX set NO=AA,AA=null; commit; alter table INFO_CUS_COMPLEX_TAX drop column AA; alter table INFO_CUS_COMPLEX_TAX modify NO not null; --启用约束 alter table INFO_CUS_COMPLEX_TAX enable constraint PK_INFO_COMPLEX_TAX1;