ORA-02449:unique/primary keys in table referenced by foreign keys.由于唯一/主键被其他外键引用
可以1.禁用该约束
查找该约束: select * from user_constraints c where c.table_name='TABLE_NAME';
该条记录
alter tableTABLE_NAME disable constraintCONSTRAINT_NAME CASCADE;
2.删除表的时候,级联删除约束
drop table TABLE_NAME cascade constraints;