Sql2005带来的分页便利
我不废话,只发1个SQL:
select threadid from
(
select threadid, ROW_NUMBER() OVER (order by stickydate) as Pos from cs_threads
) as T
where T.Pos > 100000 and T.Pos < 100030
posted on 2006-01-16 17:47:00 by 宝玉 评论(25) 阅读(13760)
随笔 - 81, 评论 - 1563, 引用 - 157 |
||
Sql2005带来的分页便利我不废话,只发1个SQL: select threadid from posted on 2006-01-16 17:47:00 by 宝玉 评论(25) 阅读(13760) |
||
|
Powered by: Joycode.MVC引擎 0.5.2.0 Copyright © 宝玉的blog |
||