Re: Running a .sql program using SQLPLUS

From: Sarah Yaksich <say_at_qld.mim.com.au>
Date: 1998/02/20
Message-ID: <34ed17ad.26685577_at_news.bne.aone.net.au>#1/1


"Kevin Bass" <akil1_at_mindspring.com> wrote:

>How can I run a .sql program from the command line (in Unix) using SQLPLUS?
>Please supply syntax and en example.
>
>Kevin
>
>
You use the following syntax:

sqlplus username/password _at_file.sql

eg.,

sqlplus scott/tiger _at_test.sql

If you put exit as the last line in test.sql, it will log out of sql when it has finished Received on Fri Feb 20 1998 - 00:00:00 CET

Original text of this message