Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Using shell script to log into SQLPLUS

Using shell script to log into SQLPLUS

From: <amerar_at_iwc.net>
Date: 13 Jan 2006 11:20:32 -0800
Message-ID: <1137180032.323134.245080@g43g2000cwa.googlegroups.com>


Hi,

This may seem like an easy thing, but I am having issues.

We are running 9i. I need to write a script that will log into some remote databases and perform some maintenance.

The basic connect in the script looks like this:

sqlplus /@MDO <<EOF
connect / as sysdba;
.
.
.

But that is not working............any suggestions? Received on Fri Jan 13 2006 - 13:20:32 CST

Original text of this message

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