function dbms

 avatar
mecskyverse
plain_text
2 years ago
214 B
1
Indexable
Never
create or replace function adder(n1 IN number, n2 IN number)
return number
is
n3 number(8);
begin
n3:= n1 + n2;
return n3;
end;
/


declare 
n3 number(10);
begin
n3 := adder(11,10);
dbms_output.put_line(n3);
end;
/