Multiple pages support for select/insert cursors