10

How can I select by expression from a date field in a shapefile, dates that are NULL or >= 2020-01-01?

This doesn't work, it only selects those with dates >= 2020-01-01, not the NULLs

"field" is NULL OR "field" > '2020-01-01'
0
12

I don't know why, but this worked:

to_date(field) IS NULL or field > '2020-01-01'

Type of field is date.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.