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 -> Re: auto-exit pl/sql script from command line?

Re: auto-exit pl/sql script from command line?

From: Daniel Morgan <damorgan_at_x.washington.edu>
Date: Mon, 26 Jan 2004 17:43:29 -0800
Message-ID: <1075167745.571469@yasure>


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

Original text of this message

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