?
Solved

query

Posted on 2011-03-22
2
Medium Priority
?
309 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 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
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.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
Suggested Courses

762 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