当前位置: 代码迷 >> SQL >> mssql2005后基于row_number()的分页话语
  详细解决方案

mssql2005后基于row_number()的分页话语

热度:25   发布时间:2016-05-05 14:32:04.0
mssql2005后基于row_number()的分页语句

?

select x.id,x.name from (select ROW_NUMBER() over(order by id) as rowNum,* from xx) as x where x.rowNum >0 and x.rowNum <=1000
  相关解决方案