Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

NVL and replace date when date field is null from table

553725Jul 1 2008 — edited Jul 1 2008
I 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 29 2008
Added on Jul 1 2008
2 comments
6,956 views