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 Cursors be combined?

Re: Can Cursors be combined?

From: damorgan <damorgan_at_exesolutions.com>
Date: Thu, 14 Mar 2002 16:53:34 GMT
Message-ID: <3C90D58F.B70AC3E6@exesolutions.com>


Not that I can think of. But then again I can't think of any reason to ask the question you are asking. How long does it take to cut and paste the two pieces of code together?

And aren't you planning on using EXPLAIN PLAN to see what you are doing?

Daniel Morgan

Chris Smith wrote:

> Suppose I have two functions
>
> FUNCTION get_cur_A RETURN MyCursorType;
> FUNCTION get_cur_B RETURN MyCursorType;
>
> They return the same kind of Cursor but use different Select
> statements Stmt_A and Stmt_B.
>
> Now, I want to have the UNION of the two cursors above.
> I.e. the UNION of the Select statements Stmt_A and Stmt_B.
>
> Is there any way to achieve that without using the statements
> directly?
>
> Thx, Chris.
Received on Thu Mar 14 2002 - 10:53:34 CST

Original text of this message

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