I've been scouring the internet trying to find an answer to this but I am coming up empty handed. I was wondering if there is a function that acts as an opposite to the nvl
function. Something like this:
UPDATE transaction_review
SET "function use if null"(review1,review2) = 'Yellow',
"function use if null"(reason1,reason2) = 'Audit'
WHERE ACCOUNT = '11111111'
Essentially, the update
would pick review2 if review1 is already populated. Is there any function
like this? Thanks.