truncate 截断表数据报ORA-02266错误
用truncate断载表数据时,我们一般要先清理子表,再清父表,如果在清理过程中遇到 “ORA-02266: 表中的唯一/主键被启用的外键引用” 报错,那么我们要先停主键,清理数据后再启动SQL> truncate table dept; ...
注册时间:2013-05-04