Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: auto-exit pl/sql script from command line?
hastenthunder wrote:
> Hi,
>
> I'm trying to run a pl/sql script from linux command line (Red Hat 9) as
> follows:
>
> sqlplus username/password @ script.sql
>
> The problem is, after the script gets executed I stay in sqlplus environment
> (unless I have "exit;" in script.sql as the last line).
> Is there any way to auto-exit from sqlplus after the script has been
> executed? Appreciate the help!
>
> Thanks all
>
> Gordon
Didn't you just mention the solution? Sure looked that way to me.
-- Daniel Morgan http://www.outreach.washington.edu/ext/certificates/oad/oad_crs.asp http://www.outreach.washington.edu/ext/certificates/aoa/aoa_crs.asp damorgan_at_x.washington.edu (replace 'x' with a 'u' to reply)Received on Mon Jan 26 2004 - 19:43:29 CST
![]() |
![]() |