LIMIT and OFFSET Examples - Latest

Spectrum Spatial Guide

Product type
Software
Portfolio
Locate
Product family
Spectrumâ„¢ software
Product
Spectrumâ„¢ software > Spatial > Spectrum Spatial
Version
Latest
ft:locale
en-US
Product name
Spectrum Technology Platform
ft:title
Spectrum Spatial Guide
Copyright
2025
First publish date
2007
ft:lastEdition
2026-02-13
ft:lastPublication
2026-02-13T17:17:07.540000
L1_Product_Gateway
Locate
L2_Product_Segment
Location Intelligence
L3_Product_Brand
Precisely Spectrum Spatial
L4_Investment_Segment
LI Enterprise
L5_Product_Group
Enterprise LI
L6_Product_Name
Spectrum Spatial

The following example illustrates the use of LIMIT AND OFFSET where 50 rows are returned beginning at row 20.

Example 1:

SELECT city FROM table WHERE obj EnvelopesIntersect <geometry> LIMIT 50 OFFSET 20

Example 2:

If the data source provider does not support LIMIT and /or OFFSET, the data provider will act on this query:
SELECT city FROM table WHERE obj EnvelopesIntersect <geometry> 
Spectrum will perform the LIMIT and OFFSET
SELECT city FROM <results of the non-delegated query> LIMIT 50 OFFSET 20