NVL and replace date when date field is null from table
553725Jul 1 2008 — edited Jul 1 2008I am trying to replace a field with a date default when it is null and it is not working
I was wondering if someone could give me a clue to what I am doing wrong
Here is the part of the select statement:
NVL (o.mass_production_date__c, TO_DATE ('1900-01-01', 'yyyy-mm-dd')),
It is not replacing a NULL value in o.mass_production_date__c if it is returning null
o.mass_production_date__c is a DATE format field
TIA,
Mike