I have stored procedure like this
create store procedure onetimeprocessing
as
begin
declare @input_data (id int,title varchar(400),topic varchar(400))
insert into @input_data
select id,title,topic from dB
I just want to count number of records in the virtual table @input_data
How should I get the count.Please help me Thanks in Advance