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: I *want* to spool query text...

Re: I *want* to spool query text...

From: Phil Lawrence <prlawrence_at_gmail.com>
Date: 2 Mar 2007 12:52:29 -0800
Message-ID: <1172868749.084593.225060@h3g2000cwc.googlegroups.com>


On Mar 2, 2:23 pm, Maxim Demenko <mdeme..._at_gmail.com> wrote:
> Phil Lawrence schrieb:
>
> > This is fine, except the text of the statements in $sqlscript are not
> > echoed in the spool file.
>
> set echo on

Thanks... the -S in
  ${ORACLE_HOME}/bin/sqlplus -S /NOLOG <<EOF 2>&1 1>/dev/null was overriding my attempts to use echo.

Without -S your suggestion works.

Phil Received on Fri Mar 02 2007 - 14:52:29 CST

Original text of this message

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