我正在处理1k记录但是800记录后我遇到系统违规错误。有人可以建议如何解决这个错误?
答案 0 :(得分:1)
有指定的使用OQL的方法,你应该注意
关闭光标(处理内存)
(SELECT a.cap_id, b.aqua_id, a.yr_a, b.yr_b,...., a.qty_a, b.qty_b
FROM Tbl A AS a LEFT JOIN Tbl_B AS b
ON a.yr_a = b.yr_b
AND a.iso_a = b.iso_b
AND a.area_a = b.area_b
AND a.sp_a = b.sp_b
WHERE a.yr_a = 2015)
UNION
(SELECT a.cap_id, b.aqua_id, a.yr_a, b.yr_b,...., a.qty_a, b.qty_a
FROM Tbl_B AS b LEFT JOIN Tble_A AS a
ON a.yr_a = b.yr_b
AND a.iso_a = b.iso_b
AND a.area_a = b.area_b
AND a.sp_a = b.sp_b
WHERE b.yr_b = 2015);
请参阅OQL下的eWAM帮助 wTECH 101(第1周 - 第5天和第34天; 101A - OQL - Search.pptx" 在Wynsure中有一个指定的变量,请参阅 Wynsure Development Rules.docx