+1 vote
1 view
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 (31.8k 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)

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


Categories

...