meridian99
MIS
Hi, I have a SQL script that uses the SPOOL command to create a text file & write some records to it. Can I build a filename from variables that use todays date/time as part of the file name? We run oracle v7.3.4
Spool c:\schedule\mydata.dat
I'd like to have the filename as
c:\schedule\abc200202131500.dat
Can I use SPOOL "variable name" then build the filename as
file = ('abc' || to_char(sysdate,12) || '.dat')
thanks
Spool c:\schedule\mydata.dat
I'd like to have the filename as
c:\schedule\abc200202131500.dat
Can I use SPOOL "variable name" then build the filename as
file = ('abc' || to_char(sysdate,12) || '.dat')
thanks