oracle veri tabanında şöyle bir hata alıyorum. Cursor değerini getirmeye çalışırken

  • ORA-01002: fetch out of sequence 
 procedure ....
  cursor c is
      select *
        from TABLE t
       where t.column_a= 'PR'
         and t.column_b= p_parameter;

begin

    update TABLE t
       set t.column_a= 'PR'
     where t.column_a is null
       and t.column_b = p_parameter;

    for r in c
    loop

   ....  
    end loop;

  .........