From http://www.techonthenet.com/oracle/functions/decode.php