Trying to use CASE in APEX function <p>I am trying to create a fucntion that will read in the value of a column, that is either "H", "C" or "N" and return "Hot", "Cold" or "None", but the case statement i have written keeps casuing this error: </p> <p><code>Error at line 5: PL/SQL: Statement ignored</code></p> <p>Here is my code, i'm not sure what i'm doing wrong, and the error is typically vague.</p> <pre><code>CREATE OR REPLACE FUNCTION refreshment( code IN string) RETURN STRING IS BEGIN RETURN( CASE code WHEN "H" THEN "Hot" WHEN "C" THEN "Cold" WHEN "N" THEN "None" END ); END; </code></pre>