Syntax in your case: SELECT CURRVAL(ID_GEN); In H2, this is considered to be the current value, since it is in use, being assigned to something. Grammar entry for the CURRVAL function: http://www.h2database.com/html/functions.html#currval
Cheers, Bob McGee --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
