問い合わせなどの実行結果をファイルに出力する SPOOL は問い合わせやターミナルに表示された出力を指定したファイルに出力するためのコマンド 短縮形は SPO 制限モード(RESTRICT オプション) 2 以上で使用不可 SPOOL コマンド SPOOL コマンドの構文 SPOOL [file_name[.ext] [CREATE | REPLACE | APPEND] SPOOL OFF SPOOL OUT [CREATE | REPLACE | APPEND ] オプションは Oracle 10g からの機能 短縮形 SPO [file_name[.ext] [CRE | REP | APP] SPO OFF SPO OUT SPOOL filname の形式が出力開始設定、SPOOL OFF が出力停止設定となる。SPOOL OUT はプリンタ直接出力命令であるが Windows