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

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

本文简介:选择自 applebbs 的 blog

r: #000000">,'country_xxx','note_xxx')
 23    set @i=@i+1
 24end
 25
 26set identity_insert testtable off
 27
 28 
 29
 30-------------------------------------
 31
 32分页方案一:(利用not in和select top分页)
 33语句形式:
 34select top 10 *
 35from testtable
 36where (id not in
 37          (select top 20 id
 38

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

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

go top