Mysql Procedure-Sum of two numbers

Simple Mysql Procedure-Sum of two numbers

create procedure addno(@no1 int,@no2 int)
as
begin
declare @add int
set @add=@no1+@no2
print @add
end
--------------------------
Calling the program:
exec addno 5,5
Output
10

Comments