Hi,

I am using H2 with DB2 support. I have created a SEQUENCE named
ID_GEN .
"NEXT VALUE FOR ID_GEN"  is working fine to get the next sequence
value but after that when I try to get Previous value of ID_GEN using
"SELECT PREVIOUS VALUE FOR  ID_GEN from USR fetch first 1 rows only"
it is throwing error by saying "Column PREVIOUS not found".


please help. above code works fine in DB2


Thanks
--~--~---------~--~----~------------~-------~--~----~
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