Adding the Oracle style DECODE function: DECODE(operand, search, result [, search, result ...] [, default_result])