Re: Windows: Quit SQLPLUS without exit

From: Harri Kaukovuo <harri.kaukovuo4_at_nic.fi>
Date: 22 Nov 2001 04:51:03 GMT
Message-ID: <9ti07n$asr$1_at_news1.song.fi>


sunny313_at_hotmail.com (Sunny Singh) wrote in news:f3f27ff5.0111211647.68d49f5c_at_posting.google.com:

> SQL*Plus will exit without an exit if called this way:
>
> sqlplus user/password<<-EOF
> _at_script.sql
> EOF
>
> The above works on UNIX. I need way to run a sql file on Windows(dos)
> from sqlplus, and the sqlplus call should exit, without an explicit
> "exit" in the script.
>
> Pl help.
>

This works both in Unix and Windows:

sqlplus user/password _at_script.sql

  • Harri
    Anti-spam: To reply by e-mail please ERASE the "4" after kaukovuo4
Received on Thu Nov 22 2001 - 05:51:03 CET

Original text of this message