笔记081121 游标(cursor)和存储过程(procedure)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~创建一个游标SQL> edit;已写入 file afiedt.buf 1 DECLARE 2 CURSOR mycur IS 3 SELECT * FROM STUDENT; 4 myrecode student%ROWTYPE; 5 BEGIN 6 OPEN mycur; 7 FET