电脑技术学习

SQL Server 2005 提供的分页查询支持

dn001

今天刚刚看到,没有测试性能。

SELECT *
FROM (select ROW_NUMBER() Over(order by CreditCardID) as rowNum, *
from Sales.CreditCard) as table
where rowNum> 0 and rowNum<50