怎样在做数据泵导入前,将目标数据库(也就是将要向里面导进数据的数据库)里面所有表的主外键约束disable掉? 谢谢!

解决方案 »

  1.   

    用EXCLUDE=REF_CONSTRAINT 和 EXCLUDE=CONSTRAINT 这是Oracle的说明,
    This means that the following EXCLUDE statements will be interpreted as follows:EXCLUDE=CONSTRAINT will exclude all nonreferential constraints, except for NOT NULL constraints and any constraints needed for successful table creation and loading.EXCLUDE=REF_CONSTRAINT will exclude referential integrity (foreign key) constraints.见
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28319/dp_import.htm#i1007865