Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to - break out of pause with sqlplus.exe on windows

737979Jan 18 2010 — edited Jan 18 2010
Does anyone know how to break out of a long running query when you have pause enabled in the command line version of sqlplus on Windows?
On Unix/Linux you can just hit control-C, but on windows, this key combination dumps causes you to abort out of sqlplus.
Open a cmd.exe window and run sqlplus.exe

Then try this:
set pause 'Press ENTER to continue...'
set pause on
set pages 50
select text from dba_source;
Then after paging through two screens, try to stop the query from executing without getting booted from sqlplus.
Anyone have a workaround?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 15 2010
Added on Jan 18 2010
2 comments
1,528 views