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 -> Oracle within a Unix Script

Oracle within a Unix Script

From: <amerar_at_ci.chi.il.us>
Date: Mon, 18 Oct 1999 15:21:45 GMT
Message-ID: <7ufdtu$l21$1@nnrp1.deja.com>

Hello,

I have a simple Unix script that logs onto SQL and executes some SQL to spool to a file. Here is a clip:

sqlplus -s /<< EOT 1>/dev/null
.
.
.

select .....
.
.

from v$filestat x, ts$ ts, v$datafile i, file$ f
.
.
.

The problem is that the Unix script is taking those $ signs and thinks they are variables. Is there a way for me to escape them so Oracle will still recognize them???

Arthur
amerar_at_ci.chi.il.us

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Mon Oct 18 1999 - 10:21:45 CDT

Original text of this message

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