Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

8
  • 1
    Thanks, I will try this out tomorrow. Why is the <> operator incorrect in this case? Commented Apr 5, 2016 at 23:25
  • 5
    The <> along with the other mathematical operators can only be directly used on values. For example att <> 8 for integer data; or att <> "new" for string data. LIKE, IS and NOT are a recent addition that allow a more advanced SQL querying which you can use along with wildcards. As you know ArcGIS attribute table querying do not allow complex SQL queries (which can be circumvented if using arcpy). More info here Commented Apr 5, 2016 at 23:31
  • 1
    Excellent, thanks a lot. I have never used the LIKE operator so I'll look that up now. Commented Apr 5, 2016 at 23:34
  • 1
    Just as an update: I needed to clean up another CAD file today and was able to use this solution. It worked exactly as expected, huge time saver. Thanks again yanes. Commented Apr 6, 2016 at 18:44
  • 1
    How can I get this to work with a integer? I have a non-functional query of VAR NOT LIKE 18% where VAR is an integer and the values I'm trying to exclude are anything from 18 to 180000. Commented May 15, 2018 at 21:43