laptop and a wrench

Bug

The NOT LIKE SQL operator for definition queries incorrectly selects null values in ArcGIS Pro when query expression is in the form NOT LIKE %xxxxxx%.

Last Published: February 24, 2020 ArcGIS Pro
Bug ID Number BUG-000128794
SubmittedFebruary 19, 2020
Last ModifiedJune 13, 2025
Applies toArcGIS Pro
Version found2.5
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusAs Designed

Additional Information

As per standard SQL specifications, NULL values need to be treated separately. Use the following SQL instead: TEXT NOT LIKE '%Test%' OR TEXT IS NULL

Workaround

Use the syntax ('Test'). The modulo operator allows all instances of 'Test' to be excluded, including 'Test' as part of the phrase 'NotTest.' The ('Test') syntax will only return 'Test,' which may not be a viable solution for all users.'

Steps to Reproduce

Bug ID: BUG-000128794

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options