PLS-00386: type mismatch found between FETCH cursor and INTO variables

前端 未结 2 1086
梦如初夏
梦如初夏 2021-01-14 21:30

The following package throws : PLS-00386: type mismatch found at \'V_STUDYTBL\' between FETCH cursor and INTO variables

Purpose of the code: Define

2条回答
  •  攒了一身酷
    2021-01-14 22:35

    Try declaring your cursor as:

    CURSOR c_StudyTbl
    IS
      SELECT OBJTYP(A, B, C)
        FROM my_table
        WHERE Study_Number = p_StudyNum(i);
    

提交回复
热议问题