tyson記事本

Google & man(Unix) are your best friends!

Skip to: Content | Sidebar | Footer

SQL*Plus: trimspool

28 May, 2007 (17:08) | Oracle | By: tyson

當你在SQL*Plus裡, 做的任何動作.. 包括指令,及output的訊息等等
都會spool寫入到你指定的檔案裡
————————————————-
trimspool
spool c:\temp\trimspool.txt

SELECT table_name
FROM all_tables
WHERE rownum < 11;

trimspool on

SELECT table_name
FROM all_tables
WHERE rownum < 11;

spool off
————————————————-

Write a comment





For spam filtering purposes, please copy the number 6815 to the field below: