Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: PL/SQL
When the cursor is declared, prior_year is sysdate. The cursor will not "re-declare" with prior_year's new value.
Use a cursor with variable and open cursor using the variable with in the loop. Received on Mon Mar 06 2000 - 00:00:00 CST
![]() |
![]() |