Re: Running PL\SQL script from command line

From: <Will>
Date: 1995/08/10
Message-ID: <40bpu3$foe_at_data.interserv.net>#1/1


> tci_at_netcom.com (Jack Tolson) writes:
> I am new to Oracle, and I am using SQLPLUS. Is there anyway to execute a *.sql script from
> the command line. Something like
>
> sqlplus -p filename.sql?
>
> Help please. Oracle must have something like this???????
>
>
>>>>

sqlplus uname/pword _at_filename.sql

If you have automatic logins enabled, you can use:

sqlplus / _at_filename.sql

You need to include an exit at the end of your script to logoff of sql*plus when it's done.

Will Kooiman
Computer Systems Authority Received on Thu Aug 10 1995 - 00:00:00 CEST

Original text of this message