Enhance the paging logic for SQLServer 2000.