标签:for index form sqlserver select sharp between sha count
craete proc GetPage( @pageIndex int, @pageSize int, @pageCount int output, @RecordCount int output ) as begin set @RecordCount= select count(*) form emp set @pageCount =celling((@RecordCount*0.1)/@pageSize) select * from ( select *, row_number over(order by id) as rows) as t where rows between (@pageIndex-1)*@pageSize and pageIndex*pageSize end
标签:for index form sqlserver select sharp between sha count
原文地址:http://www.cnblogs.com/WJ--NET/p/7045017.html