使用sqlplus将oracle执行结果输出到文件上

1.sqlplus test/test123@publicdb

2.spool on

3.set heading off

4.spool $HOME/testspool.txt

5.select sysdate from dual;

6.spool off

猜你喜欢

转载自guwq2014.iteye.com/blog/2150760
今日推荐