Title: RE: How to select and display 10 records at a time from a table using sql query

If you are talking of only sql query, then it not feasible to show 10 records at a time and then wait for user to press a key to show the next ten records (if that is what you mean). You may use sql*plus and set pagesize to 10 and pause on to see 10 records at a time.

If you meant to see only 10 records from your select, use rownum.

rgds
amar

-----Original Message-----
From: Ranganath K [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 29, 2001 12:55 PM
To: Multiple recipients of list ORACLE-L
Subject: How to select and display 10 records at a time from a table
using sql query


Dear DBA Gurus,

        How do I select and display 10 records at a time from a table using sql
query only?

Thanks and Regards,

Ranganath


DISCLAIMER: This correspondence is confidential and intended for the named
recipient(s) only. If you are not the named recipient and receive this
correspondence in error, you must not copy, distribute or take any action in
reliance on it and you should delete it from your system and notify the
sender immediately. Unless otherwise stated, any views or opinions expressed
are solely those of the author and do not represent those of Subex Systems
Limited.

www.subexgroup.com


--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Ranganath K
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to