SQL> create or replace procedure to_txt
2 is
3
4 begin
5 spool d:\a.txt;
6 select time,money from temp;
7 spool off;
8 end to_txt;
9 /
Warning: Procedure created with compilation errors
如上所示,请教各位错在哪里
2 is
3
4 begin
5 spool d:\a.txt;
6 select time,money from temp;
7 spool off;
8 end to_txt;
9 /
Warning: Procedure created with compilation errors
如上所示,请教各位错在哪里
spool只是一个sqlplus命令而已。