Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Parameter to teh spool command
Hi all
I guess it is very simple but I must be missing something...
I would like to use a parameter for the spool filename so that I can run my script number of times and keep all spool files. But using:
spool $1.log
(or spool %1.log in Windows)
does not do it.
Can I do it in the sql script or do I have to go for other tools to generate the file name and open it?
Regards
Witold
![]() |
![]() |