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

Home -> Community -> Mailing Lists -> Oracle-L -> COMMIT's within cursor for loops

COMMIT's within cursor for loops

From: Nuala Cullen <ncullen_at_catlogic.com>
Date: Wed, 25 Jun 2003 11:17:06 -0700
Message-ID: <F001.005B966C.20030625094008@fatcity.com>

Hi All,

Can somebody please clear up some issues about issuing commits during CURSOR FOR LOOPS I have done some research within Metalink and the ORACLE-L FAQ but am still a tad bit confused.

Are the following statements regarding cursors TRUE

  1. If you issue a commit within a for cursor loop you release all locks regardless of whether you're cursor statement has a FOR UPDATE statement in it or there is a WHERE CURRENT statement within the loop.
  2. If you are using OPEN CURSOR...FETCH INTO statements to get the data the same rule applies.

Thanks,

N.

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Nuala Cullen
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed Jun 25 2003 - 13:17:06 CDT

Original text of this message

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