Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Configuring the number of records to return

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