Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Running a .sql program using SQLPLUS
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
![]() |
![]() |