Claus Pedersen
Member³
I have a request: is it possible to have a hint if a variable that is implicit declared is also explicitly declared but not used?
Example:
Here, the declaration of cur_emp can be omitted, it is possible to have a hint:
Variable 'cur_emp' is declared but never used ...
or similar?
Example:
Code:
PROCEDURE tester IS
cur_emp emp%ROWTYPE;
BEGIN
FOR cur_emp IN (SELECT * FROM emp) LOOP
cur_emp.sal := cur_emp.sal * 1.05;
END LOOP;
END;
Variable 'cur_emp' is declared but never used ...
or similar?