User Tools

Site Tools


kurs:uebung_4.2
FUNCTION F_BONUS
  (salary in number)
  RETURN  number IS
  v_bonus number(2,2);
BEGIN 
  v_bonus := 0.05;
  if salary<5000 then
    v_bonus := 0.2;
  end if;
  return v_bonus;
END;
kurs/uebung_4.2.txt · Last modified: 2014/09/10 21:22 (external edit)