add two numbers using stored procedure

Gow.net
Posted by Gow.net under Sql Server category on | Points: 40 | Views : 12125
Add two numbers using stored procedure

create procedure sp_addno(@no1 int,@no2 int)
as
begin
declare @add int
set @add=@no1+@no2
print @add
end


exec sp_addno 5,5

o/p=10

Comments or Responses

Login to post response