This question is reference to question \"How to create stored procedure using H2 database?\" (continuation of the same question).
Is there a way to write a function
Currently, H2 does only support functions written in Java or a related language (for example Groovy or Scala). PL/SQL (Oracle) and T-SQL (MS SQL Server, Sybase) are not supported.