Select to view content in your preferred language

query - filter "NULL" value?

851
2
10-06-2010 01:17 PM
ducksunlimited
Deactivated User
Hi All,

What is the correct syntax of filtering NULL value out for an attribute query?  assume the field name is STATE. how to construct query.Where = ""
thanks,

Russel
0 Kudos
2 Replies
JenniferNery
Esri Regular Contributor
You can do something like this:
query.Where("not fieldname is null");
0 Kudos
ducksunlimited
Deactivated User
You can do something like this:
query.Where("not fieldname is null");



thank you! your codes worked.
0 Kudos