Configuring the number of records to return

concept australia Updated Sep 10, 2026 1 min read c_SpecifyTheNumberOfRecordsToReturn.md
Raw file servicenow.com

Specify the number of records to return for a database view when the view is used in a script.

A property called glide.db.max_view_records controls the maximum number of rows returned when running a GlideRecord query in a script. The default value for this property is 10000. To change this value, add the property to the System Property [sys_properties] table and edit the property's Value field, which determines the number of rows to return.

This property only applies when querying a database view table in a script. When the database view table is used in a list or report, this property doesn’t apply. Reports or lists based on the database view use all rows in the view.

Parent Topic:Joining tables using database views

Previous topic:Relabel a column

Next topic:Test the database view

Search documentation
Search document titles and file paths on the australia branch