Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: SQL*PLUS and placing sysdate in spool filename
On 27 Jan 1999 19:36:56 GMT, "Pat Gorden-Ozgul" <gorden_at_xs.bis.bnl.gov> wrote:
>We run spool files in batch mode and would like to place the actual date in
>the stored spool filename itself for auditing purposes.
>
Add this as the first lines of the batch
set heading off
select 'Starting process '||to_char(sysdate,'DD-MON-YYYY HH24:mi:ss') from dual;
set heading on
>If you know how, pls email me: gorden_at_bnl.gov. Thx.
--
Christopher Beck
Oracle Corporation
clbeck_at_us.oracle.com
Reston, VA.