Added code for H2DB user defined functions to mimick MySql functions