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!

How to Replace Null Outer Join Result

ZebediahApr 10 2016 — edited Apr 11 2016

I'm working on joining one of my order tables with an exchange rate table to calculate USD values. Our exchange rates are populated around 3pm each day so I'm running into issues where an order was placed on a day where the rates don't exist yet. I'd like to just use the previous available day when the date doesn't exist but the things I've tried aren't working, like an NVL around the column where I expect a null value to occur and a case statement in the where clause. How can I accomplish this in my join?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 9 2016
Added on Apr 10 2016
7 comments
585 views