1 2CREATEproc sp_fixpage @pagesizeint,@destpageintas 3set nocount on 4 5declare@idint 6declare@startidint 7 8select@startid= (@destpage-1)*@pagesize 9setrowcount@startid 10 11select@id= id from t_member 12setrowcount@pagesize 13set nocount off 14 15select*from t_member where id >@idorderby id 16GO
posted on
2008-08-21 17:16Flouse
阅读(219)
评论(0)
编辑收藏举报