CREATE OR replace FUNCTION fn_findraise (dept_in IN VARCHAR2,
salary_in IN FLOAT)
IF dept_in = 'MIS' THEN
salaryraise := salary_in * .10;
ELSIF dept_in = 'SALES' THEN
salaryraise := salary_in * .15;
ELSIF dept_in = 'HR' THEN
salaryraise := salary_in * .20;
Now I want to call that from within a stored function; lil lost on how to pass the variables, thanks for the help!
If you're in one of those predicaments where cls.__private attributes just aren't enough since they can easily be accessed through inst._cls__private, and you need something a little more secure, here's ...