set trimspool on
set heading off
set feedback off
set echo off
set term off
spool D:\test.txt -- 导出的本地文件路径
select t1.f001,f1.f002 from test1 t1, test2 t2
where t1.f001 = t2.f02;
spool off
exit
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/24805255/viewspace-721344/
,如需转载,请注明出处,否则将追究法律责任。