DNN-4287 Improve Paging in SQL result sets