运行脚本
start d:\test.sql
编辑脚本
edit d:\test.sql
spool 是将sqlplus 的内容输出到指定的文件
spool d:\aa.sql
spool一个文件 aa.sql 此文件执行之后就会有 不用新建
select * from yy;
执行一些操作
spool off;
关闭 spool
打开aa.sql出现的就是 select的内容
运行脚本
start d:\test.sql
编辑脚本
edit d:\test.sql
spool 是将sqlplus 的内容输出到指定的文件
spool d:\aa.sql
spool一个文件 aa.sql 此文件执行之后就会有 不用新建
select * from yy;
执行一些操作
spool off;
关闭 spool
打开aa.sql出现的就是 select的内容