-1
I am trying to define a primary key composed of two columns when creating a table in the H2 Database Engine (http://www.h2database.com/html/main.html), but I couldn’t find the syntax in the manual. For example: the syntax in Mysql, Postgress... Maybe some of it works...
I tried to:
CREATE TABLE CONTACORRENTE (AGENCIA INT PRIMARY KEY, NUMERO INT PRIMARY KEY)
But H2 does not recognize as a composite key (it says that it is not possible to define two primary keys).
Nothing like the documentation: https://www.h2database.com/html/grammar.html#Constraint
– anonimo