Hi All,
I am using Oracle 11.2 and using the following parfile to export a list of tables:
directory=datapump_export_directory
schema=source_schm
include=TABLE: "IN (select tb_nm from TB_ref
union select 'TB_parent' from dual
union select 'TB_child' from dual)"
However the expdp does follow the order as specified in the parfile. Sometimes it exports the child table TB_child before the parent table TB_parent. Then the impdp will failed due to the child table has not parent key. Any suggestion on how to export/import table in certain order - parent table at first and then the child table?
Thanks!