title: Function "TO_DATE" not found in H2 database
body: <p>I have a SQL statement and trying execute with H2 in-memory database in Java. The following exception thrown.</p>
  
  <p>SQL:</p>
  
  <pre><code>SELECT ACCT_RULE_ID, ACCT_ACTION_ID 
    FROM ACCT_RULE 
   WHERE (ACCT_ACTION_ID = ?) 
     AND (START_DATETIME &lt;= to_char(?, 'mm/dd/yyyy HH:MI:SS AM')) 
     AND (STOP_DATETIME &gt; to_char(?, 'mm/dd/yyyy HH:MI:SS AM')) 
  </code></pre>
  
  <p>Replacing first parameter with Id and second and third parameter with new Date() value.</p>
  
  <pre><code>Exception:
  Caused by: org.h2.jdbc.JdbcSQLException: Function "TO_DATE" not found; SQL statement:
  </code></pre>