Control+C - How to break out of SQLPLUS long running query to SQL prompt and NOT completely abortin
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