17,378
社区成员
发帖
与我相关
我的任务
分享
BEGIN
FOR I IN (SELECT EMP.*,COUNT(1) OVER() AS TOTAL FROM EMP) LOOP
DBMS_OUTPUT.PUT_LINE(I.TOTAL);
END LOOP;
END;
FOR rec_current_cursor in your_current_cursor LOOP
...
IF running time > xxtime THEN
fnd_file.put_line(fnd_file.log,
'Total Record Processed : ' || your_current_cursor%ROWCOUNT;
fnd_file.put_line(fnd_file.log,
'Total Record Fetched : ' || rec_current_cursor.Total_Num);
END IF;
END LOOP;