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

Home -> Community -> Usenet -> c.d.o.server -> Re: displaying n number of records

Re: displaying n number of records

From: Niall Litchfield <n-litchfield_at_audit-commission.gov.uk>
Date: Tue, 12 Feb 2002 12:05:17 -0000
Message-ID: <3c690504$0$236$ed9e5944@reading.news.pipex.net>


asktom.oracle.com has a number of articles on this problem.

--
Niall Litchfield
Oracle DBA
Audit Commission UK
*****************************************
Please include version and platform
and SQL where applicable
It makes life easier and increases the
likelihood of a good answer

******************************************
"humble_one" <rastapoppolous_at_yahoo.com> wrote in message
news:42bb2f93.0202111417.60cfe005_at_posting.google.com...

> Hi there,
> I have a table that contains records > 10000, and my user wants to
> view them 1000 at a time sorted by a particular column.
> The coulmns of the table are non-numeric
> fetching the results in a scrollable result set and displaying seems
> to be too time consuming as there are a lot of records.
> What is an efficient approach to solve this problem ?
> any pointers to how to use them effectively would be helpful.
> the table is on an oracle database and the gui / connection to the db
> is through java / jdbc.
> an approach that seems to be rather time consuming and inefficient
> which i tried and gave up was the following:
> create view view1 as select col1 from tab1 order by col1;
> create view view2 as select rownum as rownumber , col1, from view1;
> and then querying view1.
> Thanks,
> Karthik
Received on Tue Feb 12 2002 - 06:05:17 CST

Original text of this message

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