这可以在“forall”中转换这个“for”吗?
FOR tempCounter in tempCollection.FIRST .. tempCollection.LAST LOOP
IF tempCollection(tempCounter).execactstockkey IS NULL THEN
RETURN;
END IF;
INSERT INTO tbexectempactstock VALUES tempCollection(tempCounter);
END LOOP;
我也试过这个
FORALL tempCounter in tempCollection.FIRST .. tempCollection.LAST
INSERT WHEN tempCollection(i).execactstockkey IS NOT NULL
THEN INTO tbexectempactstock VALUES tempCollection(tempCounter);
但它弹出我缺少 SELECT KEYBOARD