摘要:
方法1:适用于 SQL Server 2000/2005
SELECT TOP 页大小 *FROM table1WHERE id NOT IN (SELECT TOP 页大小*(页数-1) id FROM table1 ORDER BY id)ORDER BY id
方法2:适用于 SQL Server 2000/2005
SELECT TOP 页大小 *FROM table1WHERE id > (SELECT ISNULL(MAX(id),0)FROM (SELECT TOP 页大小*(页数-1) id FROM table1 ORDER BY id) A)ORDER BY id...... 阅读全文