expdp wdm_app_2/1234@orcl_9 tables=ARTICLE_DETAIL directory=DATA_PUMP_DIR dumpfile=Article_Detail.dmp logfile=Expdp_Article_Detail.log compression=NONE content=ALL reuse_dumpfiles=y parallel=4
impdp wdm_app_2/1234@orcl_9 tables=Article_Detail directory=TEST_DUMP_DIR dumpfile=Article_Detail.DMP logfile=Impdp_Article_Detail.log table_exists_action=APPEND data_options=SKIP_CONSTRAINT_ERRORS parallel=2
column today new_val dt
select to_char(sysdate, 'dd-mm-yyyy-hh24mi') today from dual;
host expdp wdm_app_2/1234@orcl_9 query=article_detail:\"where Website_No='NW41'\" tables=article_detail directory=TEST_DUMP_DIR dumpfile=Article_Detail_Query_&dt..dmp logfile=Article_Detail_Query_&dt..log content=ALL reuse_dumpfiles=y parallel=2
exit
echo off
sqlplus wdm_app_2/1234@orcl_9 @Expdp_Query_Article_Detail.sql
impdp wdm_app_2/1234@orcl_9 tables=Article_Detail directory=TEST_DUMP_DIR dumpfile=ARTICLE_DETAIL_QUERY_17-12-2009-1756.DMP logfile=Article_Detail.log table_exists_action=APPEND data_options=SKIP_CONSTRAINT_ERRORS parallel=