PLS-00487 Invalid reference to variable

PLS-00487 Invalid reference to variable Oracle SQL Error: PLS-00487 Invalid reference to variable Cause: A variable was referenced in a way that is inconsistent with its datatype. Solution: Check the spelling of the variable name. Make sure the variable was declared properly and that the declaration and reference are consistent regarding datatype. Example: DECLARE CURSOR…(Continue Reading)

PLS-00376 illegal EXIT statement it must appear inside a loop

PLS-00376 illegal EXIT statement it must appear inside a loop Oracle SQL Error: PLS-00376: illegal EXIT/CONTINUE statement; it must appear inside a loop Cause: An EXIT statement was found outside of a loop construct. The EXIT statement is used to exit prematurely from a loop and so must always appear within a loop. Solution: Either…(Continue Reading)