摘要: Sql数据库中分页的实现前段时间,根据需要写一个实现分页的sql语句,刚开始写了几个,效果都不是很好,最后又多写了几个。特拿来和大家分享:1、 *** select top 分页大小 * from table where 排序字段>all ( select top (分页大小*(第几页-1))from table order by 排序字段 ***2、 select * from table... 阅读全文
posted @ 2010-04-23 20:41 地下室雅座 阅读(210) 评论(0) 推荐(0)