2012年7月6日
摘要: create proc up_GetPageData@pi int --页码@ps int --页容量asbeginselect * from (select ROW_NUMBER() over(order by id) as RNum,*from table) as tempwhere RNum>(@pi-1)*@ps and RNum<=@pi*@psend再来执行这一条语句execup_GetPageData 1,4 阅读全文
posted @ 2012-07-06 23:18 仙梦之飘 阅读(112) 评论(0) 推荐(0) 编辑