Newer Version Available
Using null in SOQL Queries
You can search for null values by using the null
keyword.
Use null to represent null values in SOQL queries.
For example, the following statement would return the account IDs of all events with a non-null
activity date:
1SELECT AccountId
2FROM Event
3WHERE ActivityDate != null