This document will outline how to use the LIMIT function in an SQL report to control the number of results a report returns.
Why to use the LIMIT function?
The limit function reduces the number of results that a report will bring back to a specified number. This allows reports to be tested without risking taxing the resources on an active system. With the LIMIT function, reports can be edited and tested repeatedly to see the overall results
How to add the LIMIT function to a report?
Either create a new report or edit an existing report.

For more details on how to access a report, please check our
Help Centre
Go to the final line in the report.
Insert the line LIMIT 10, to reduce the number of results to 10.
Running this report will bring back 10 results.
To change the number of results being brought back, update the LIMIT line to include a different number.
For example, if the report should bring back 50 results, the format should be LIMIT 50.
| Version | Date | Detail | Author |
| 1.0 | 08/05/26 | Doc. Created | Holly Cooper |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|