Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
2 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

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers

500 comments

94.2k users

Browse Categories

...