摘要: SQL 分页支持查询 ROW_NUMBER() OVER (ORDER BY ReportID) AS RowNo 分页支持查询 SELECT * FROM (select *,ROW_NUMBER() Over(order by [id]) as row_index from [table] ) as [newtable] where row_index between [startindex] and [endindex] Sql Server 2000的自定义分页,但是在sql server 2000中,要实现显示某一页,就返回那一页数据的效果的方法实在不尽人意.网上很多通用的分页存储过 阅读全文
posted @ 2010-04-02 10:54 啊汉 阅读(1092) 评论(0) 推荐(2) 编辑