Re: Windows: Quit SQLPLUS without exit

From: Ron Reidy <rereidy_at_indra.com>
Date: Wed, 21 Nov 2001 22:07:14 -0700
Message-ID: <3BFC8802.5946A94E_at_indra.com>


Sunny Singh wrote:
>
> 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.
Then you will need to execute this in a shell-like environment. The cmd.exe shell does not (at least, I have never seen it) support here documents. I have used Cygwin without problem.

-- 
Ron Reidy
Oracle DBA
Reidy Consulting, L.L.C.
Received on Thu Nov 22 2001 - 06:07:14 CET

Original text of this message