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: remote database and cursor

Re: remote database and cursor

From: DA Morgan <damorgan_at_psoug.org>
Date: Sun, 24 Sep 2006 19:37:11 -0700
Message-ID: <1159151830.756352@bubbleator.drizzle.com>


Daud wrote:
> I have the procedure below. It retrieves rows from a table at a remote
> database (over WAN link) and inserts into a local table. My question
> is, at Point A (where the cursor to remote table has been opened) is it
> possible for a glitch in the WAN to cause my procedure to fail?

Yes.

But unless you have a paleolithic version of Oracle this is a poor use of a cursor loop. Look to using array processing with BULK COLLECT and FORALL.

Demos under Array Processing in Morgan's Library at www.psoug.org

-- 
Daniel Morgan
University of Washington
Puget Sound Oracle Users Group
Received on Sun Sep 24 2006 - 21:37:11 CDT

Original text of this message

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