日期:2014-05-17 浏览次数:21018 次
SQL> col txtm new_value filename SQL> select 'D:\simon\'||To_Char(SYSDATE,'YYYYMMDDhh24miss')||'.txt' txtm from dual; TXTM ------------------------------------------------------ D:\simon\20120627111542.txt SQL> spool &filename SQL> spool off