自動設定SPOOL檔名為當前日期

litterbaby發表於2007-04-01

自動設定SPOOL檔名為當前日期

[@more@]

自動設定SPOOL檔名為當前日期

column spool_name new_value S

set termout off

select to_char( sysdate, 'ddmonyyyyhh24mi' ) spool_name from dual;

set termout on

spool &S

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/222350/viewspace-908028/,如需轉載,請註明出處,否則將追究法律責任。

相關文章