SWC-1067: paginated results for querytableresults