Loading

oracle EXP导出一张表时使用query参数指定where条件

oracle exp 导出一个表的部分内容,使用query参数可加上SQL的where条件进行过滤
注意:如果需要使用到日期字符串格式等单引号,需要使用双引号将where条件括起来,而且双引号要用\做转义
 
exp test/test@testdb file=D:\test_bak.dmp log=D:\exp0811.log tables=(tbl_test) query=\"where start_time>='20160701000000' and start_time<'20160801000000'\"

 

posted @ 2016-08-11 11:33  uzipi  阅读(24044)  评论(0编辑  收藏  举报