摘要:
declare @col int select top {PageSize * (PageIndex-1)+1} @col = [排序字段] from [表名|视图名] [ where 查询条件 ] order by [排序字段] asc|desc --@col 变成本页第一条的位置(可以是ID,或时间等,只要是有序的东西) select top PageSize 需要显示的字段 ... 阅读全文
posted @ 2008-07-08 13:19
白开水皮皮
阅读(205)
评论(0)
推荐(0)
浙公网安备 33010602011771号