create table test_test(id number(8),createdate date)
/
insert into test_test values(1,sysdate);
insert into test_test values(2,sysdate-1);
/
----
[oracle@testdb dpump_dir1]$ expdp **/***@*** tables=TEST_TEST directory=dpump_dir1 dumpfile=sample.dmp query='"where createdate>trunc(sysdate)"'
/
drop table test_test
/
SELECT * fROM test_test
/
[oracle@testdb dpump_dir1]$ impdp ***/***@*** dumpfile=sample.dmp logfile=imp_p_.log directory=dpump_dir1 tables=TEST_TEST
/
SELECT * fROM test_test
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/25323853/viewspace-722664/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/25323853/viewspace-722664/