其实很简单,我们所要利用的就是query这个选项,下面是个例子:
exp scott/tiger tables=(emp) query=\"where job=\'Oracle DBA\' and sal<1600\" file=d:\scott2.dmp
表为 emp 条件是:where job='Oracle DBA' and and sal<1600;
exp scott/tiger tables=(emp) query=\"where job=\'Oracle DBA\' and sal<1600\" file=d:\scott2.dmp
表为 emp 条件是:where job='Oracle DBA' and and sal<1600;
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/12361284/viewspace-620149/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/12361284/viewspace-620149/
本文介绍如何利用Oracle数据库的QUERY选项来导出表中符合特定条件的数据,示例展示了如何导出emp表中职位为OracleDBA且薪水低于1600的记录。


被折叠的 条评论
为什么被折叠?



