Re: Ctrl C in SQLPlus exits Windows

  • From: Chris Taylor <christopherdtaylor1994@xxxxxxxxx>
  • To: lambu999@xxxxxxxxx
  • Date: Sun, 10 Mar 2019 09:39:05 -0500

Ram,

Are you executing sqlplus from within another program such as
sqldeveloper?  (Like execute SQL as a script)

The only time I've seen control-c exit sqlplus is if SQLplus is executed
from another program.

If you call sqlplus from the command prompt, I believe Ctrl-C will
interrupt as normal.   You can save your sql scripts as ".sql" files if
you're writing them in a guide and execute script as @script or @<path to
script>/script.sql .

Chris


On Sun, Mar 10, 2019, 1:59 AM Ram K <lambu999@xxxxxxxxx> wrote:

Installed Oracle in my home Windows PC and playing around with it. But
pressing Ctrl-C always exits SQL Plus, when I run queries. grr... Tried
searching online and found  this:


https://grokbase.com/t/freelists.org/oracle-l/095myarkwd/11g-sqlplus-on-windows-and-ctrl-c

Is there a solution for Ctrl C only to interrupt and not to exit SQL Plus
in windows.

--
Thanks,
Ram.

Other related posts: