Features with null values are ignored or not displayed when using the '<>' (not equal) operator in ArcMap.
上次发布: April 4, 2018ArcGIS for Desktop
漏洞 ID 编号
BUG-000104895
已提交
May 3, 2017
上次修改时间
June 5, 2024
适用范围
ArcGIS for Desktop
找到的版本
10.5
状态
Known Limit
经开发团队审核,已确定此问题与不受 Esri 控制的软件的已知限制有关。 问题的“其他信息”部分可能包含进一步说明。
附加信息
I tested your case against the numeric "numb" field and a calculated text field "testnumb" and neither returns the null record. Detailed documentation on this can be found here: https://technet.microsoft.com/en-us/library/ms191270(v=sql.105).aspx. Essentially, NULL is not the same as blank, empty, or zero. It is an "unknown". Because it is of "unknown" value, our definition queries and selections will not return the value.
To return the selection you desire, the correct query is: SELECT * FROM test1 WHERE numb <>1 OR numb IS NULL.