Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

h2 auto increment and unique

drop table test;
create table test(id bigint auto_increment, name varchar(255));
insert into test(name) values('hello');
insert into test(name) values('world');
select * from test; 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #auto #increment #unique
ADD COMMENT
Topic
Name
2+2 =