+1 calling Currval before Nextval should give an error. If the last value returned is needed it should be read from the INFORMATION_SCHEMA .
> The current value is also available in the system table > INFORMATION_SCHEMA.SEQUENCES, in that case it's probably OK to return > the last used value (as done now), or maybe NULL if NEXTVAL was never > called by any session. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
