Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> HELP: Adding date to spool filename using SQLplus
I would appreciate assistance.
From an SQLplus session on my Windows NT PC, I wish to spool a file onto the Windows NT PC with a filename that includes the current date (and time if possible).
Eg. Sample20030525.csv (nameYYYYMMDD.csv) or Sample20030525155623.csv (nameYYYYMMDDHHMMSS.csv)
Is it possible to do, easily, and if so how? The date and time could be either the time that it began to spool, or the date and time it stopped spooling.
Many thanks,
Dave.
Received on Mon May 26 2003 - 15:43:03 CDT
![]() |
![]() |