for loop游标的索引不需要声明
他由pl/sql编译器隐士声明为游标%rowtype

解决方案 »

  1.   

    应该是对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;
         具体参看
      

  2.   

    应该是对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