Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: How apply cursor attribute to non-cursor %NOTFOUND
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;
-- 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-LReceived on Tue Aug 20 2002 - 01:34:20 CDT
(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).
![]() |
![]() |