Hi,
How to use the SQL OFFSET FETCH clauses to limit the number of rows returned by a query in
traditional web for advanced or aggregate query.
Thanks,
Rodrigo
Hi Rodrigo,
you can try this on advanced query.
SELECT {JulyReport}.[Id],{JulyReport}.[SELB],{JulyReport}.[Equipamento] from {JulyReport} order by {JulyReport}.[Id],{JulyReport}.[SELB],{JulyReport}.[Equipamento] asc OFFSET @StartIndex ROWS FETCH NEXT @RowCount ROWS ONLY
Hope this will help you.
Vijay M-
Vijay Malviya wrote:
Thanks for quick reply.
Rodrigo Misiac wrote:
Thanks for quick You're
You're Welcome!
VIjay M-
In a SQL ADVANCE, you need use (example with 10):
... ... WHERE ROWNUM <= 10
In a Aggregate:
Cheers
Refer the below forum link and the screen clip for sample implementation reference
https://www.outsystems.com/forums/discussion/56770/sql-offset-and-os-pagination/#Post214278
Hope this helps you!
Regards,
Benjith Sam