Solved

query

Posted on 2011-03-22
2
303 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
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 76

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

813 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now