You can use:   "id int auto_increment primary key"  should be faster (mainly on 
32 bits platforms) ,
or IDENTITY (that use a long/bigint as base data type) on 64bits plat. or if 
isn't sufficient with an INT.

Identity and primary key create their own index for you.

regards,
Dario
 

El 10/10/10 09:46, Alessio Pace escribió:
> And just as a follow up: on the auto-generated serial id column, I don't need 
> to explicitly do a "CREATE INDEX .." on it, do I?
>

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