1.直接上练习的存储过程,方便回想 create proc proc_output @totlecount int output, @pageIndex int, @pageSize intas declare @filter Nvarchar(800) if OBJECT_ID('Test.dbo.#temp3','U') IS NOT NULL begin drop table #temp3 end set @filter='select identity(int,1,1) as id,*…