Re: spool file

From: Daniel Fink <>
Date: Sun, 20 Dec 2009 14:23:08 -0700
Message-ID: <>

Ignore the previous email. I misread it.

To create a spool file without any extension you have to use the method you describe or redirect the output from sql*plus. The problem with redirecting the output is you can have only one spool file per session.

oracle_at_daniel-desktop:~$ sqlplus -s / as sysdba <<EOF >>test  > select 'x' from dual;
 > EOF
oracle_at_daniel-desktop:~$ ls -lart test -rw-r--r-- 1 oracle oinstall 8 2009-12-20 14:21 test oracle_at_daniel-desktop:~$ more test



Daniel Fink

Oracle Blog

Lost Data?

Joe Smith wrote:

> Is there a way to create a spool file without the .lst extension?
> I have seen examples of hosting out of the session and renaming the
> file , but is there a way to create the spool file from the beginning
> with no extension?
> thanks.
> ------------------------------------------------------------------------
> Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. Sign up
> now. <>
Received on Sun Dec 20 2009 - 15:23:08 CST

Original text of this message