Re: Cursors

From: Rumpi Gravenstein <>
Date: Wed, 23 Dec 2009 13:50:05 -0500
Message-ID: <>

My understanding is that if you are talking about a cursors within pl/sql procedures, as the block exists, the cursors are closed for you automatically. There are a number of innovations that have occurred over the last few versions in this area with cursor caching and what not. For a good discussion see:

On Wed, Dec 23, 2009 at 1:43 PM, <> wrote:
> From what i've always known is you do not have to "close" a cursor when you
> loop it with a FOR LOOP.  But if you explicitly say OPEN, FETCH... etc, then
> you need a CLOSE.  That's just off the top of my head, though.
> Lyall
> -----Original Message-----
> From: Goulet, Richard <>
> To:
> Sent: Wed, Dec 23, 2009 1:31 pm
> Subject: Cursors
> All,
>         First off, Merry Christmas, Happy Hanukah, Happy Kwanza, etc…  to
> one and All.
>         I'm trying to track down a perception that some of our developers
> have that there is no longer, post Oracle 10g R1, a need for their
> applications to close cursors.  I've searched the Oracle docs, Metalink, and
> Google to no avail.  Anyone else hear about this "feature"?
> Dick Goulet
> Senior Oracle DBA/NA Team Lead
> PAREXEL International
> 900 Chelmsford St, Suite 310
> Lowell, MA 01821
> 978.614.2857
> Richard.Goulet_at_PAREXEL.COM
> The information transmitted in this communication is intended only for the
> person or entity to which it is addressed and may contain confidential
> and/or privileged material. Any review, retransmission, dissemination or
> other use of, or taking of any action in reliance upon, this information by
> persons or entities other than the intended recipient is prohibited. If you
> received this in error, please destroy any copies, contact the sender and
> delete the material from any computer.

Rumpi Gravenstein
Received on Wed Dec 23 2009 - 12:50:05 CST

Original text of this message