SQL Server 存储过程的分页方案比拼[5]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 applebbs 的 blog

p" alt=""/>语句形式:
 55select top 10 *
 56from testtable
 57where (id >
 58          (select max(id)
 59         from (select top 20 id
 60                 from testtable
 61                 order by id) as t))
 62order by id
 63
 64
 65select top 页大小 *
 66from testtable
 67where (id >
 68          (

本文关键:SQL Server 存储过程的分页方案比拼
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top