Yes, it does, thanks! On Jul 14, 7:51 pm, Thomas Mueller <[email protected]> wrote: > Hi, > > Does this solve the problem?: > > drop table test; > create table test(id identity, b int); > insert into test values(null, 0), (null, 1); > alter table test drop primary key; > alter table test alter column b set not null; > alter table test add primary key(id, b); > insert into test values(null, 0), (null, 1); > select * from test; > > (identity is converted internally to auto_increment in any case, > actually to use a sequence - if you run "script" it's easier to > understand). > > 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.
