0
begin
declare i integer;
declare cur cursor for select ecmtwork.mttotalline from ectmwork;
OPEN cur;
repeat
fetch cut into i;
until i = 468;
end repeat;
close cur;
end;
我嘗試運行此程序, mysql的顯示錯誤消息(「在MySQL 1324-未定義CURSOR), 有人請告訴解決方案,我使用MySQL服務器5.01324- MySQL中未定義CURSOR