What Function would I use if I want to see if a fi...
# suiteanalytics
n
What Function would I use if I want to see if a field is NULL and return a boolean? I'm checking against a Custom Field I created of Type Date. I considered using the NULLIF() but couldn't quite seem to get that to work.
CASE WHEN {custbody_expected_ship_date} != NULL THEN 0 ELSE 1 END
b
that said, no booleans in oracle sql
n
Final draft for any interested. CASE WHEN {custbody_expected_ship_date} IS NULL THEN 'No Exp. Ship Date' ELSE 'Exp. Ship Date' END
b
NVL2({custbody_expected_ship_date}, 'Exp. Ship Date', 'No Exp. Ship Date')
you could probably simply that further because the only difference between the two outputs is
'No '