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 SCript

Re: KSH SCript

From: Ban Spam <ban-spam_at_operamail.com>
Date: Thu, 20 Sep 2001 00:47:11 GMT
Message-ID: <Xns9121B4EE58103SunnySD@24.0.3.73>


crsoza_at_hotmail.com (C. R. Soza) wrote in news:c18ea449.0109190555.1c455685 @posting.google.com:

> sqlplus username/password<<-EOF
> select * from table;
> EOF
>
> that's it.
>

It is slightly better to do
$ sqlplus <<EOF
username/password
select * from global_name;
EOF
exit

because in the top response anyone can do a ps -ef and will see the username/password values!

HAND! Received on Wed Sep 19 2001 - 19:47:11 CDT

Original text of this message

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