首页 新闻 论坛 群组 Blog 文档 下载 读书 Tag 网摘 搜索 .NET Java 游戏 视频 人才 外包 数据库 第二书店 程序员

分页控件之分页算法 —— for SQL Server 版。百万级的数据只需要15毫秒到900毫秒


的数据,那么SQL语句就是
declare @col int

select top 11 @col = ProductID from Products where CategoryID = 3 order by ProductID desc

select top 10 * from Products where ProductID >= @col and CategoryID = 3 order by ProductID desc



他们设置了哪些标签:




谁收藏了这个网址:


kukou收录

时间:2008-5-9 22:51:00 | 相关网摘

alenwoo收录

时间:2008-5-9 22:52:18 | 相关网摘

perddy收录

时间:2008-5-10 0:22:26 | 相关网摘

的数据,那么SQL语句就是
declare @col int

select top 11 @col = ProductID from Products where CategoryID = 3 order by ProductID desc

select top 10 * from Products where ProductID >= @col and CategoryID = 3 order by ProductID desc

playboy652收录

时间:2008-5-10 20:44:08 | 相关网摘

忽略了索引的作用。

网站简介广告服务网站地图帮助联系方式诚聘英才English 问题报告
北京创新乐知广告有限公司 版权所有 京 ICP 证 070598 号
Copyright © 2000-2008, CSDN.NET, All Rights Reserved