> I also was a bit puzzled when i noticed that when i do a > SELECT IDENTITY() FROM AUDITMSG; > i get back a result set that has as many records, all with the same > IDENTITY() value, > as the AUDITMSG table currently contains.
Don't specify a FROM clause (i.e. just use "SELECT IDENTITY()"). The resultset will contain a single row. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
