Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> DBMS_SQL.CURSOR: How to check if Last Row has been reached ?
I have following Cursor:
l_cursor := DBMS_SQL.OPEN_CURSOR;
DBMS_SQL.PARSE(l_cursor, l_sqlStatement, DBMS_SQL.native);
l_retVal := DBMS_SQL.EXECUTE(l_cursor);
loop
l_retVal := DBMS_SQL.FETCH_ROWS(l_cursor);
/* do different things */
end loop
Within the loop how can I check:
if (last row)
then....
Many thanks in advance. Received on Thu Sep 26 2002 - 08:23:19 CDT
![]() |
![]() |