OR and NOT Operator 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-07-02
ft:lastPublication
2026-07-02T11:22:39.888000
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 examples use the OR and NOT operators in queries. The data source provider must support all operators in the query in order for delegation to occur. Spectrum Spatial does not delegate partial queries.

Example 1:

SELECT Obj FROM table WHERE city='Austin' OR city="Dallas"

In this example, the data source provider must support OR and = for the entire query to be delegated to the data source provider.

Example 2:

SELECT city from table where NOT MI_Envelope(obj) Within MI_Box(-180, -90,
   180, 90, 'EPSG:4326') 

If the data source provider supports NOT and Within, the entire query is delegated to the data source provider.