Hello,

I need to write the following decode statement and I am having trouble getting it right:
if an end_date is null or less than today then return X, else return Y.

Can anyone help,

Thanks in advance,

Boris Volf