SQL*Plus (MOSC)

MOSC Banner

Control+C - How to break out of SQLPLUS long running query to SQL prompt and NOT completely abortin

edited Mar 18, 2020 3:15PM in SQL*Plus (MOSC) 6 commentsAnswered

Previously using the 10g client sqlplusw.exe, when I run  a long running query , I used to be able to use Control+C to break out of the Sqlplus long running query back to the Sql prompt.

Currently using 64bit Oracle client 12 on 64bit, Sqlplus.exe version 12.1:

SQL*Plus: Release 12.1.0.2.0 Production on Tue Apr 2 10:01:46 2019

Copyright (c) 1982, 2014, Oracle.  All rights reserved.

SQL>

Here when I run  a long running query, Control+C completely aborts out of Sqlplus. This is so annoying.

I did find some hits on this to invoke sqlplus using cmd.exe /k  as :

               cmd /k d:\oracle\product\11.2.0\Db_2\bin\sqlplus.ex

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center