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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: How apply cursor attribute to non-cursor %NOTFOUND

RE: How apply cursor attribute to non-cursor %NOTFOUND

From: Amjad Saiyed <amjad_at_medicomsoft.com>
Date: Mon, 19 Aug 2002 22:34:20 -0800
Message-ID: <F001.004B9951.20020819223420@fatcity.com>


no need to use exit ...the for loop exits automatically...

rgds,
Ams.

-----Original Message-----
DBA
Sent: Monday, August 19, 2002 8:19 PM
To: Multiple recipients of list ORACLE-L

i have a question how can I apply cursor attribute to non-cursor? what should I put at ??? in the code.

Thanks in advance
Dave

DECLARE BEGIN
   For i IN (SELECT * FROM EMP) LOOP
   EXIT WHEN ???%NOTFOUND;         /*SOURCE CODE*/
   END LOOP; END;



Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: EntryLevel DBA
  INET: truongbatgioi_at_hotmail.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Amjad Saiyed INET: amjad_at_medicomsoft.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (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 Tue Aug 20 2002 - 01:34:20 CDT

Original text of this message

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