Hi,

> I also cannot use the HSQLDB syntax, even though it is supported by H2, 
> because I need the data type to be 64-bit integer.

You can use BITINT:

drop table test;
CREATE TABLE test (id BIGINT GENERATED BY DEFAULT AS IDENTITY(START
WITH 0) PRIMARY KEY);
insert into test() values();
select * from test;
> 0

Regards,
Thomas

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