Fixing SQL Server 2000 pagination