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: Too Many Cursors?

Re: Too Many Cursors?

From: Helge Moulding <hmoulding_at_gmail.com>
Date: 4 Oct 2005 07:21:02 -0700
Message-ID: <1128435662.659319.251860@g49g2000cwa.googlegroups.com>


Billy wrote:
> The ref cursor struct and resources are only released when the session
> owning that ref cursor pointer terminates, or when the ref cursor is
> explicitly closed (e.g. using the PL/SQL call CLOSE).

Thanks, Billy. So what I was trying to do is a generally bad idea? Is there a way that a function can return several columns at once, without using a ref cursor? I looked at a piped function, but it seemed as if that would get me no advantage over just selecting from the joined tables.

--
  Helge Moulding
  hmoulding at gmail dot com                 Just another guy
  http://hmoulding.cjb.net/                  with a weird name
Received on Tue Oct 04 2005 - 09:21:02 CDT

Original text of this message

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