Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
3 views
in Salesforce by (11.9k points)

How do I check if a field is Blank in Salesforce using SOQL.

Thanks

1 Answer

+1 vote
by (32.1k points)

SOQL supports NULL values like SQL so you can use =NULL. For example:

SELECT column FROM table WHERE date_field = NULL

Or you can also try this:

IF( ISBLANK(), //condition, NULL)

To learn in-depth about Workflow in Salesforce, sign up for an industry based Salesforce Course

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...