In Oracle Database, the NVL2()
function allows us to replace null values with another value.
It’s similar to the NVL()
function, except that it accepts three arguments instead of two. This allows us to specify a different value to return in the event the first argument is not null.