Hi Alex
*FYI;* I've contributed the TO_DATE (and TO_TIMESTAMP) code to H2 and it
should be in Version 1.4.191
<http://mvnrepository.com/artifact/com.h2database/h2/1.4.191> (It's not
mentioned in the change log :-( ).
*Note*: If you have programed an alias with that name, you need to delete
that alias first or H2 will complain of having a name clash.
Cheers Sam
Am Donnerstag, 7. April 2011 20:01:54 UTC+2 schrieb Alex Feng:
> Does H2 allow you to create user defined functions within the
> database?
>
> I want to do something like this:
>
> insert into table1 values ('key1',to_date('MM/DD/YYYY','10/10/2011');
>
> instead of changing all my code to replace the "to_date" function, I
> want to write something in H2
> that does the same thing as the Oracle to_date.
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.