stored procedure to multiply two numbers

Brajagopal
Posted by Brajagopal under ASP.NET category on | Points: 40 | Views : 909
create procedure multiply(@no1 int,@no2 int)
as
begin
declare @mul int
set @mul=@no1*@no2
print @mul
end




To show the output:
exec multiply 3,3


answer:
9

Comments or Responses

Login to post response