4 lines
123 B
SQL

create function nvl(pValue decimal(24,6), pDefault decimal(24,6)) returns decimal(24,6)
RETURN COALESCE(pValue,pDefault);