Hi,

I believe this should work:

insert into test(id, x) values(1, {d '2001-12-31'});

as documented in the JDBC specification. Use {ts ...} for time stamps.

Regards,
Thomas

On Thursday, May 24, 2012, Abhi wrote:

> Hi,
> My query is how to add months to Date(dd-mon-yy) that works with
> Oracle also.
>
>
> Thanks in advance.
>
> -Abhinav
>
> --
> You received this message because you are subscribed to the Google Groups
> "H2 Database" group.
> To post to this group, send email to 
> [email protected]<javascript:;>
> .
> To unsubscribe from this group, send email to
> [email protected] <javascript:;>.
> For more options, visit this group at
> http://groups.google.com/group/h2-database?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to