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: Retrieving Sets of Record via VB

Re: Retrieving Sets of Record via VB

From: Igor Neyman <ineyman_at_perceptron.com>
Date: Fri, 07 Feb 2003 05:53:49 -0800
Message-ID: <F001.00546F7D.20030207055349@fatcity.com>


So, what's wrong with reference cursors? Why are you looking for anything different?

Igor Neyman, OCP DBA
ineyman_at_perceptron.com

> All,
>
> My current application is written in VB accessing the Oracle back-end. I
> have just been asked about how to execute a query that may return many
> thousands of rows, but only display, let's say, 1000 at a time. After the
> first set of rows was returned, the user would click a button and request
> the next thousand.
>
> We are currently using reference cursors and everything is working well.
I
> was wondering if anyone has done something like this, and how did you do
it?
> I could see using an inline view and re-executing the query every time and
> selecting the range of records to return. Storing the result set in a
> temporary/rollup table might also work. I obviously would need to clear
> this table out every night.
>
> Any other ideas?
>
> thanks
>
> Tom Mercadante
> Oracle Certified Professional
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Mercadante, Thomas F
> INET: NDATFM_at_labor.state.ny.us
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> 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).
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Igor Neyman
  INET: ineyman_at_perceptron.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Fri Feb 07 2003 - 07:53:49 CST

Original text of this message

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