Function - Oracle 10g
CREATE OR REPLACE FUNCTION TESTDAZ_F
( res IN int)
RETURN INT IS
result INT;
BEGIN
IF(res <10) THEN result:=0;
ELSIF(res>10) THEN result:=1;
ELSE result:=-1;
END IF;
RETURN result;
END;
( res IN int)
RETURN INT IS
result INT;
BEGIN
IF(res <10) THEN result:=0;
ELSIF(res>10) THEN result:=1;
ELSE result:=-1;
END IF;
RETURN result;
END;
Comments
Post a Comment