spool--导出sql语句结果集
SQL>spool c:testsql.sql
SQL>SELECT * FROM table_name;
SQL>spool off;
sav--保存执行的sql语句
SQL>SELECT * FROM table_name;
SQL>sav c:test.sql;
spool--导出sql语句结果集
SQL>spool c:testsql.sql
SQL>SELECT * FROM table_name;
SQL>spool off;
sav--保存执行的sql语句
SQL>SELECT * FROM table_name;
SQL>sav c:test.sql;