Solved

query

Posted on 2011-03-22
2
307 Views
Last Modified: 2012-05-11
I have a long query which is beign scrolled over for 10 pages..
is there any way to display page by page
0
Comment
Question by:nobleit
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
MrNed earned 500 total points
ID: 35196219
I assume you mean in SQL*Plus - use the SET PAUSE ON command before running your query. It will prompt for a keypress on each page.

Other commands available here: http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch12040.htm#sthref2520
0
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 35197981
I agree with PAUSE.

I wanted to add that you should also set PAGESIZE

and, create a 'prompt' to show you are PAUSED:  set PAUSE 'Hit enter to continue...'

If you forget the prompt, some day, you will forget and the screen will just sit there.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question