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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Can you open a cursor within a cursor?

Re: Can you open a cursor within a cursor?

From: Matthias Gresz <GreMa_at_t-online.de>
Date: 29 Apr 1998 06:40:41 GMT
Message-ID: <6i6i19$61d$1@news00.btx.dtag.de>


Why not?

Dave Morse schrieb:
>
> Is it possible to open a cursor within another cursor (as follows):
>
> ---------------------------
> cursor c_cursor1 is
> SELECT ...
>
> cursor c_cursor2 is
> SELECT ...
>
> OPEN c_cursor1;
> Fetch c_cursor1 INTO ...
>
> IF .. = .. THEN
> OPEN c_cursor2
> Fetch c_cursor2 INTO ...
>
> CLOSE c_cursor2;
> ELSE
> ...
> END IF;
> CLOSE c_cursor1;
> ------------------------------
>
> To respond, please take out "nospam" in e-mail address
>
> Dave Morse
> dmorse_at_iquest.net
> Consultant - InfoTech Consulting, Inc.

--

Regards

Matthias Gresz :-)

GreMa_at_t-online.de Received on Wed Apr 29 1998 - 01:40:41 CDT

Original text of this message

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