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: ksh scrip to include various sql commands and rownum

Re: ksh scrip to include various sql commands and rownum

From: Kevin Rodgers <ihs_4664_at_yahoo.com>
Date: Mon, 19 Jan 2004 13:49:25 -0700
Message-ID: <400C42D5.3060400@yahoo.com>


Bilal wrote:

> sqlplus - silent "$USERNAME/$PASSWORD@$DATASTORE" <<EOF

This is a little bit safer, since you can restrict who can read your script but everyone can see your command line with the ps command:

sqlplus -s /nolog <<EOF
connect $USERNAME/$PASSWORD@$DATASTORE
...
EOF

-- 
Kevin Rodgers
Received on Mon Jan 19 2004 - 14:49:25 CST

Original text of this message

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