Skip to Main Content

SQL & PL/SQL

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 with Date inside DECODE

Orcl ApexNov 6 2016 — edited Nov 7 2016

Hi All,

How to use NVL Inside Decode with Dates -

Sample -

SUM(decode(oola.source_type_code,

                  'INTERNAL',

                  DECODE(NVL(TO_CHAR(oola.schedule_ship_date, 'DD-Mon-YYYY'),

                             'No'),

                         'No',

                         'Yes'),

                  'yes'))

This post has been answered by Frank Kulash on Nov 6 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 4 2016
Added on Nov 6 2016
5 comments
2,942 views