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 -> Cursor performance

Cursor performance

From: <devjnr_at_gmail.com>
Date: 29 Sep 2006 00:17:49 -0700
Message-ID: <1159514268.937304.30070@h48g2000cwc.googlegroups.com>


Are cursors a good way to execute dynamic sql and to loop on results?

I mean:

sql := 'select field........ where ....;'

open Cursor for sql;
loop
Fetch Cursor into lvfield;
Exit When Cursor%NOTFOUND;

...

end loop

Are there other better ways to do this?

Can you point me to some papers that eventually discuss this subject?

Thx. Received on Fri Sep 29 2006 - 02:17:49 CDT

Original text of this message

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