spool *.txt
spool off
spool E:/a.txt; //输出的以记事本中
@E:/a.sql; //执行的SQL语句
spool off;
本文介绍了如何使用SQL命令spool进行文件输出及关闭输出的方法,并通过实例展示了如何执行具体的SQL语句。
spool *.txt
spool off
spool E:/a.txt; //输出的以记事本中
@E:/a.sql; //执行的SQL语句
spool off;
1382
1702

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