Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Help with a Script

Re: Help with a Script

From: Chuck Hamilton <chuckh_at_dvol.com>
Date: 1996/12/27
Message-ID: <32c4d8e9.1652144@n5.gbso.net>#1/1

kjphilbr13_at_aol.com (KJPhilbr13) wrote:

>I want to be able to run a script that creates a Spool file that has
>(Sysdate - 1) in "YYYYMMDD" format in the filename.

set pages 0 feedback off trimspool on
spool spoolon.sql
select 'spool '||to_char(sysdate-1,'yyyymmdd') from dual /
spool off
@spoolon

--
Chuck Hamilton
chuckh_at_dvol.com

This message delivered by electronic sled dogs. WOOF!
Received on Fri Dec 27 1996 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US