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: Running a .sql program using SQLPLUS

Re: Running a .sql program using SQLPLUS

From: John P. Higgins <jh33378nospam_at_deere.com>
Date: 1998/02/20
Message-ID: <34EE01D2.7918@deere.com>#1/1

Try this:

sqlplus <<EOF
scott/tiger
@test.sql
exit
EOF Manjula Krishnan wrote:
>
> > sqlplus scott/tiger @test.sql
> >
> > If you put exit as the last line in test.sql, it will log out of sql
> > when it has finished
>
> Beware that password appears in the clear if any one on the system types ps -
> ef to check all processes.
>
> Manjula
Received on Fri Feb 20 1998 - 00:00:00 CST

Original text of this message

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