ReddyInfoSoft
we make IT
Tuesday, February 6, 2024
Parameterised Stored procedure with select query and output parameter
create proc sp_test_select_output
(
@id int,
@rtnval int output
)
as
begin
select * from tblCities;
select @rtnval = @@ROWCOUNT;
end
--declare @output int;
--exec sp_test_select_output 0, @output output;
--select @output as 'OUT PUT'
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)