应该是对CURSOR使用不合适,看看下面 的代码: open c_Students; loop fetch c_Students into v_first_namee,v_last_name ; EXIT WHEN c_Students%NOTFOUND; --对v_first_namee,v_last_name的使用 --........
end loop; close c_Students; 具体参看
应该是对CURSOR使用不合适,看看下面 的代码: open c_Students; loop fetch c_Students into v_first_namee,v_last_name ; EXIT WHEN c_Students%NOTFOUND; --对v_first_namee,v_last_name的使用 --........
end loop; close c_Students; 具体参看 http://hi.baidu.com/zhao_e893/blog/item/5c7097356a9d8f1190ef3937.html
open c_Students;
loop fetch c_Students
into v_first_namee,v_last_name ; EXIT WHEN c_Students%NOTFOUND;
--对v_first_namee,v_last_name的使用
--........
end loop;
close c_Students;
具体参看
open c_Students;
loop fetch c_Students
into v_first_namee,v_last_name ; EXIT WHEN c_Students%NOTFOUND;
--对v_first_namee,v_last_name的使用
--........
end loop;
close c_Students;
具体参看
http://hi.baidu.com/zhao_e893/blog/item/5c7097356a9d8f1190ef3937.html