【发布时间】:2014-06-05 12:42:07
【问题描述】:
请分析下面的代码 sn-p 并提出一种跳到光标中下一条记录的方法。
开始
OPEN cs_migrate_drop_ntd_object_status;
LOOP
FETCH cs_migrate_drop_ntd_object_status BULK COLLECT INTO r_current_loc_equip LIMIT 200;
FOR i IN 1..r_current_loc_equip.COUNT
LOOP
IF ( r_current_loc_equip(i).status = 'YES' ) THEN
**-- Here I want to skip to next record fetched by the bulk collect cursor**
ELSE
Do something else;
【问题讨论】:
标签: plsql cursor bulk-collect