Home  >  Article  >  Backend Development  >  Paging query support provided by SQL Server 2005_PHP tutorial

Paging query support provided by SQL Server 2005_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 17:02:57757browse

Just saw it today, didn't test the performance.
SELECT *
FROM (select ROW_NUMBER() Over(order by CreditCardID) as rowNum, *
from Sales.CreditCard) as table
where rowNum> 0 and rowNum<50


www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/630990.htmlTechArticleJust saw it today, no performance test. SELECT * FROM (select ROW_NUMBER() Over(order by CreditCardID) as rowNum, * from Sales.CreditCard) as table where rowNum 0 and rowNum50...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn