Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Sql question

RE: Sql question

From: Jack C. Applewhite <japplewhite_at_inetprofit.com>
Date: Tue, 03 Apr 2001 08:08:48 -0700
Message-ID: <F001.002DF7E7.20010403062606@fatcity.com>

Surjit,

The syntax is:

Select *
>From MyTable

Where RowNum < 21
And <more of your predicates>
;

Jack



Jack C. Applewhite
Database Administrator/Developer
OCP Oracle8 DBA
iNetProfit, Inc.
Austin, Texas
www.iNetProfit.com
japplewhite_at_inetprofit.com

-----Original Message-----
Surjit
Sharma
Sent: Tuesday, April 03, 2001 7:46 AM
To: Multiple recipients of list ORACLE-L

All

I am sure this question has come up here before. I need to get the limited number
of rows from a table at a time (say 20 rows ) using sql . I know this can be
achieved using PL/SQL.
This is typically required in web based applications where you can only show a few
records at a time.

Your comments are highly appreciated.

Regards.

Surjit

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jack C. Applewhite
  INET: japplewhite_at_inetprofit.com

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: ListGuru_at_fatcity.com (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).
Received on Tue Apr 03 2001 - 10:08:48 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US